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
Ace scrolls when on focus #2963
Comments
We have the same error, it also scrolls when editing. |
Seems to be coming from here. Although I see that was changed in master. |
+1 |
Use version 1.2.3, After replacing thsi version, it doens't scroll up |
Even when using 1.2.3 we still have this issue... |
still in error for me on 1.2.6 |
if you still see this issue with 1.2.6, please show a page where the issue can be reproduced |
i've made a PR on this, because it was so annoying #3227 |
I can confirm this is happening on editor boxes that are in the lower part of a large page. |
Turns out this is caused by a bug in the behavior of position fixed, which works differently for children of nodes with transforms applied. #3279 adds a workaround for that, but it needs some more work before it can be merged https://rawgit.com/ajaxorg/ace/scroll-bug/demo/scrollable-page.html until this is fixed in the next version, please add
somewhere in your css as a workaround. merging this into #3245 since it had a better description of the issue |
Great, thanks for the timely answer. |
We're loading ace within a scrollable modal window and clicking on the ace editor, it scrolls up about 100px. Any idea how to disable this?
The text was updated successfully, but these errors were encountered: