-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Right clicking inside CodeMirror instance causes textarea to show from then on #3241
Comments
It seems like Chrome doesn't respect the |
I have added |
So after putting back the |
I haven't been able to figure out what causes this bug to manifest. I can tell you that where this bug shows up for me, that the screen shot above is from, is deeply nested inside several absolute positioned elements several of which are animated. I can actually cause this bug just by setting the textarea's position to fixed, then changing it back to absolute, with 0 right clicks. |
Interesting. If you can submit a (minimal) test HTML page that allows me to reproduce this, that would be useful. |
Hi, I have the same problem!! Any have a good solution!!! |
Closing until a test case shows up. |
Same issue here, we're using CodeMirror with ui-codemirror. Don't know how to reproduce, but will submit a test HTML when I can reproduce it. |
This happens only in chrome and only in certain circumstances that I haven't been able to narrow down yet. When I right click my CodeMirror instance the hidden textarea shows up and never goes away.
It is caused by setting
position: fixed
here https://github.com/codemirror/CodeMirror/blob/master/lib/codemirror.js#L1464, but removing theposition: fixed
from that cssText causes the context-menu to not have copy/cut/paste #3238The text was updated successfully, but these errors were encountered: