-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overlapping ACE Editors causes text from both editors to appear in same spot #3079
Comments
Interesting. We probably should add it by default, but i am not sure if that can cause problems for some users. |
@nightwing Thank you! This is a good workaround. I did some poking around and it seems there's a css property that might help; Setting |
Would be great to set theses styles by default, makes it work in IE and Firefox:
|
I had this problem when the editor was inside a dive with style float:left I had to change the way I did my styling. When I removed the float and changed the div to display:inline-block; the problem went away. |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
This is an issue we've been running into, our app has the user dragging elements around, some of which could be ACE editor elements. However, when one is dragged on top, both render on the same layer. Here's a JSFiddle demonstrating the issue:
https://jsfiddle.net/ypfLnfbo/
Here's a screenshot:
Expected behavior would be that editor2 simply renders over and obscures the overlapped part of editor1.
Wrapping them in containing
https://jsfiddle.net/u5jzu5et/1/
The text was updated successfully, but these errors were encountered: