react-data-grid icon indicating copy to clipboard operation
react-data-grid copied to clipboard

Locked (frozen) columns move with track pad hz scroll

Open littlebee opened this issue 10 years ago • 7 comments

see screen cap.

This only happens when using the Mac touch pad to scroll horizontally. When I use the horizontal scroll bar it doesn't do this.

I've tried stripping off my css and it also happens with the react-data-grid.css from the themes folder. I don't see that behavior in the frozen columns example.

scrollusingtouchpad

littlebee avatar Feb 13 '16 16:02 littlebee

I see the same issue on my end, running on react 15.2.1.

The example in http://adazzle.github.io/react-data-grid/examples.html#/fixed-cols face the same issue when you scroll right, that jittery jerking motion occurs.

masterfung avatar Aug 11 '16 11:08 masterfung

Any updates on this?

kaykaul avatar Jul 17 '17 08:07 kaykaul

I am also facing the same issue. Any update on this or suggestions how it can be fixed?

singharpit94 avatar Sep 13 '17 04:09 singharpit94

I am seeing the same behavior.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

React: 16.0.0 React Data Grid: 2.0.60

The frozen cells are styled with position: "absolute" and their left offset relative to their parent (the grid canvas) is set (using transform: translate3d(...)) on every scroll event. Using position: "fixed" and dropping the transform does the trick when scrolling horizontally – even when the cell style is updated on every scroll event.

However, scrolling vertically does not interact well with position: "fixed" cells so it’s not a sufficient fix. And I haven’t dug deeper than that.

mikol-styra avatar Oct 11 '17 01:10 mikol-styra

Hi, Thanks for the response ,I will look into it.

On 11-Oct-2017 6:41 AM, "Mikol Graves" [email protected] wrote:

I am seeing the same behavior.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

React: 16.0.0 React Data Grid: 2.0.60

The frozen cells are styled with position: "absolute" and their left offset relative to their parent (the grid canvas) is set (using transform: translate3d(...)) on every scroll event. Using position: "fixed" and dropping the transform does the trick when scrolling horizontally – even when the cell style is updated on every scroll event.

However, scrolling vertically does not interact well with position: "fixed" cells so it’s not a sufficient fix. And I haven’t dug deeper than that.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/adazzle/react-data-grid/issues/211#issuecomment-335652064, or mute the thread https://github.com/notifications/unsubscribe-auth/AHPW-XuIDXigJUI_1sr6X7jNQIsoIsPMks5srBWrgaJpZM4HZquG .

singharpit94 avatar Oct 11 '17 03:10 singharpit94

@singharpit94 @malonecj or any other contributor

I still see this issue in the frozen column example and its a pretty big issue imo when it comes to UX. What can be done to fix this?

rtman avatar May 02 '19 21:05 rtman

@amanmahajan7 can you or anybody else speak to this? Would be much appreciated!

rtman avatar May 09 '19 01:05 rtman