Skip to content

Trackpad scrolling while columns pinned unexpectedly scrolls parent container #6099

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

Open
JoshuaBrinkley opened this issue Mar 21, 2017 · 0 comments

Comments

@JoshuaBrinkley
Copy link

JoshuaBrinkley commented Mar 21, 2017

Environment:

  • UI-Grid Version 4.0.2 (stable)
  • Starting from tutorial 203-pinning; modified in plunker for alternate pinning configurations (i.e. left pin only, right pin only) as well as testing using the ui-grid-unstable.js version.
  • Trackpad with two-finger vertical & horizontal scrolling
  • Tested on macOS 10.12.3
  • Tested using Chrome 58.0.3029.19 beta (64-bit)
  • Tested using Safari 10.0.3 (12602.4.8)
  • 1st Note: Not experienced when columns are not pinned.
  • 2nd Note: Not normally experienced while using mouse wheel traditionally with mutually exclusive vertical/horizontal scrolling i.e. horizontal scroll requires shift or other modifier key.

Expected Behaviors:

  • While mouse pointer is over any part of the grid, scrolling vertically only affects the grid's vertically scrollable area(s) until reaching the top most scrollable row while scrolling up and bottom most scrollable row while scrolling down. When exceeding these boundaries, the parent container is expected to scroll vertically in the intended direction.
  • While mouse pointer is over any part of the grid, scrolling horizontally only affects the horizontally scrollable grid area(s) until reaching the left most scrollable column while scrolling left and right most scrollable column while scrolling right. When exceeding these boundaries, the parent container is expected to scroll horizontally in the intended direction.

Current Behavior:

  • While mouse pointer is over left pinned column, scrolling over the column diagonally with a trackpad motion down and right while mouse point remains in the left pinned column, the parent container scrolls up.
  • While mouse pointer is over left pinned column, scrolling over the column diagonally with a trackpad motion up and right while mouse point remains in the left pinned column, the parent container scrolls down.
  • While mouse pointer is over unpinned scrollable columns and left most scrollable column is fully in view, scrolling over the column diagonally with a trackpad motion down and right while mouse point remains in the unpinned columns, the parent container scrolls up.
  • While mouse pointer is over unpinned scrollable columns and left most scrollable column is fully in view, scrolling over the column diagonally with a trackpad motion up and right while mouse point remains in the unpinned columns, the parent container scrolls down.
  • While mouse pointer is over unpinned scrollable columns and right most scrollable column is fully in view, scrolling over the column diagonally with a trackpad motion down and left while mouse point remains in the unpinned columns, the parent container scrolls up.
  • While mouse pointer is over unpinned scrollable columns and right most scrollable column is fully in view, scrolling over the column diagonally with a trackpad motion up and left while mouse point remains in the unpinned columns, the parent container scrolls down.

Additional Notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants