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

fix dgrid horizontal scroll on focus #1086

Closed
wants to merge 1 commit into from
Closed

fix dgrid horizontal scroll on focus #1086

wants to merge 1 commit into from

Conversation

nicknisi
Copy link
Member

@nicknisi nicknisi commented Feb 4, 2015

When navigating with keyboard on a grid that is not wide enough to fit
the entire grid, ensure that the column is scrolled in to view in
entirety. Fixes issue in Chrome, Firefox, and Safari.

This issue can be seen in this fiddle. Navigating with the keyboard, the rightmost column does not scroll all the way in to view in Chrome, Firefox, or Safari. It does in IE10/11.

When navigating with keyboard on a grid that is not wide enough to fit
the entire grid, ensure that the column is scrolled in to view in
entirety. Fixes issue in Chrome, Firefox, and Safari.
@nicknisi
Copy link
Member Author

nicknisi commented Feb 4, 2015

Please note that if the column is completely hidden, then the column will be scrolled into view automatically, without this fix. It's only if the column is partially showing where it doesn't in the browsers listed above.

@kfranqueiro
Copy link
Member

I've made amendments to this to improve behavior when adjusting to the right, to combine debounces, and to only execute this logic in cases where it's needed. I've got a branch ready against 0.3, but need to manually port to 0.4 / master before I merge it all. Thanks!

kfranqueiro pushed a commit that referenced this pull request Feb 10, 2015
When navigating with keyboard on a grid that is not wide enough to fit
the entire grid, ensure that the column is scrolled in to view in
entirety. Fixes issue in Chrome, Firefox, and Safari.

h/t @nicknisi for initial fix in #1086
kfranqueiro pushed a commit that referenced this pull request Feb 10, 2015
When navigating with keyboard on a grid that is not wide enough to fit
the entire grid, ensure that the column is scrolled in to view in
entirety. Fixes issue in Chrome, Firefox, and Safari.

h/t @nicknisi for initial fix in #1086

(cherry picked from commit ecfd9a6)
kfranqueiro pushed a commit that referenced this pull request Feb 10, 2015
When navigating with keyboard on a grid that is not wide enough to fit
the entire grid, ensure that the column is scrolled in to view in
entirety. Fixes issue in Chrome, Firefox, and Safari.

h/t @nicknisi for initial fix in #1086
@kfranqueiro
Copy link
Member

This has been merged in the following commits:

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

Successfully merging this pull request may close these issues.

2 participants