Skip to content
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

Closed
webchaz opened this issue May 5, 2016 · 11 comments
Closed

Ace scrolls when on focus #2963

webchaz opened this issue May 5, 2016 · 11 comments

Comments

@webchaz
Copy link

webchaz commented May 5, 2016

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?

@tothandras
Copy link

We have the same error, it also scrolls when editing.

@mike-strauch
Copy link

mike-strauch commented Jun 9, 2016

Seems to be coming from here. Although I see that was changed in master.

@kruny1001
Copy link

+1

@kruny1001
Copy link

Use version 1.2.3, After replacing thsi version, it doens't scroll up

@SvenSchoene
Copy link

SvenSchoene commented Feb 4, 2017

Even when using 1.2.3 we still have this issue...

@allphat
Copy link

allphat commented Feb 20, 2017

still in error for me on 1.2.6

@nightwing
Copy link
Member

if you still see this issue with 1.2.6, please show a page where the issue can be reproduced

@otopsy
Copy link

otopsy commented Feb 27, 2017

i've made a PR on this, because it was so annoying #3227

@lithiumlab
Copy link

lithiumlab commented Apr 25, 2017

I can confirm this is happening on editor boxes that are in the lower part of a large page.

@nightwing
Copy link
Member

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

.ace_text-input {position:absolute!important}

somewhere in your css as a workaround.

merging this into #3245 since it had a better description of the issue

@lithiumlab
Copy link

Great, thanks for the timely answer.

floragunncom pushed a commit to floragunncom/search-guard-kibana-plugin that referenced this issue Mar 3, 2024
floragunncom pushed a commit to floragunncom/search-guard-kibana-plugin that referenced this issue Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants