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

[data grid] Trackpad scrolling on Safari is jittery #16851

Open
kthyer opened this issue Mar 6, 2025 · 5 comments
Open

[data grid] Trackpad scrolling on Safari is jittery #16851

kthyer opened this issue Mar 6, 2025 · 5 comments
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! status: waiting for author Issue with insufficient information

Comments

@kthyer
Copy link

kthyer commented Mar 6, 2025

Steps to reproduce

Steps:

  1. On Safari, open this link to live example: https://mui.com/x/react-data-grid/scrolling/?srsltid=AfmBOorb3qa7Q4NXrHKCPspGL_D8TGmZHbVoioPqAWjdt6Tgf_6EH74P
  2. In any of the examples, use a laptop trackpad to slowly scroll on the talbe
  3. Note the table display a jittery scroll behavior

Current behavior

Scrolling is jittery when using a trackpad on Safari

Screen.Recording.2025-03-06.at.2.49.04.PM.mov

Expected behavior

Scrolling should be smooth

Context

No response

Your environment

Laptop Environment ``` macOS Montery - Version 12.7.6 Macbook Pro Mid-2015 Safari - Version 17.6 (17618.3.11.11.7, 17618) ```
Packages
@emotion/react - 11.14.0
@emotion/styled - 11.14.0
@mui/material - 6.4.7
@mui/x-data-grid - 7.27.2
react - 19.0.0
react-dom - 19.9.9

Search keywords: datagrid, safari

@kthyer kthyer added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Mar 6, 2025
@github-actions github-actions bot added the component: data grid This is the name of the generic UI component, not the React module! label Mar 6, 2025
@michelengelen
Copy link
Member

I cannot reproduce the issue seen in the video.

Screen.Recording.2025-03-07.at.11.50.34.mov

But I am on a very different machine and MacOS version:

Image

I'll ask around if we have someone from the team that's using a similar setup. Otherwise we would need to test this with browserstack.

@michelengelen
Copy link
Member

Browserstack does not show this behavior as well ... 🤔

@kthyer
Copy link
Author

kthyer commented Mar 7, 2025

I cannot reproduce the issue seen in the video.
Screen.Recording.2025-03-07.at.11.50.34.mov

But I am on a very different machine and MacOS version:
Image

I'll ask around if we have someone from the team that's using a similar setup. Otherwise we would need to test this with browserstack.

It looks like you are scrolling fast in the video. I don't notice it when I scroll at a "normal" or fast speed. But if I use the touch pad to scroll very slowly I get this jitter that is noticeable. On occasion it is still smooth but after a few rows it normally has this jitter again. I am sure this very environment dependent though.

@kthyer
Copy link
Author

kthyer commented Mar 7, 2025

If I "flick" my fingers to use the inertia scrolling it will also kind of jitter around. Doesn't matter if I do vertical or horizontal scrolling.

Screen.Recording.2025-03-07.at.12.45.54.PM.mov

@michelengelen
Copy link
Member

I still cannot reproduce this on my machine or on Browserstack ... does this also happen on other browsers or is this strictly only safari? Did you try another version of Safari as well?

@michelengelen michelengelen added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! status: waiting for author Issue with insufficient information
Projects
None yet
Development

No branches or pull requests

2 participants