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

Fixes ENYO-2223 #2375

Merged
merged 2 commits into from Aug 4, 2015
Merged

Fixes ENYO-2223 #2375

merged 2 commits into from Aug 4, 2015

Conversation

ryanjduffy
Copy link
Contributor

Issue

Programmatic focus()-ing controls causes the browser to scroll the control into view using scrollTop and scrollLeft on the nearest scrolling context ancestor that would bring it into view

Fix

Remove overflow from intermediate controls within scroller so that scrolling can be suppressed on the scroller.

Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)

Ryan Duffy and others added 2 commits August 3, 2015 16:26
overflow: hidden introduces a new scrolling context such that
focus()-ing a control will set the scrollTop/scrollLeft of the scroll
context node so the focused control can be in view. We want to limit
the number of scrolling contexts so we can prevent this scrolling
effectively without unnecessary onscroll handlers.

Issue: ENYO-2223
Enyo-DCO-1.1-Signed-off-by: Ryan Duffy (ryan.duffy@lge.com)
always present.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
aarontam added a commit that referenced this pull request Aug 4, 2015
Fixes ENYO-2223

Reviewed-by: Roy Sutton (roy.sutton@lge.com)
Integrated-By: Aaron Tam (aaron.tam@lge.com)
@aarontam aarontam merged commit ff9aa30 into 2.6.0-dev Aug 4, 2015
@aarontam aarontam deleted the ENYO-2223-ryanjduffy branch August 4, 2015 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants