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

Scrolling with touch doesn't work if we clicked on the chart #15064

Closed
CzarOfScripts opened this issue Oct 23, 2024 · 2 comments
Closed

Scrolling with touch doesn't work if we clicked on the chart #15064

CzarOfScripts opened this issue Oct 23, 2024 · 2 comments
Labels
component: charts This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@CzarOfScripts
Copy link

CzarOfScripts commented Oct 23, 2024

Steps to reproduce

Link to live example:

Animation

Steps:

  1. While scrolling, click on the graph
  2. Trying to scroll
  3. Can't scroll

(Works here too https://mui.com/x/react-charts/lines/)

Current behavior

No response

Expected behavior

No response

Context

No response

Your environment

npx @mui/envinfo
  System:
    OS: Windows 11 10.0.22631
  Binaries:
    Node: 21.3.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: Not Found
  Browsers:
    Chrome: 130.0.6723.59
    Edge: Chromium (127.0.2651.74)
  npmPackages:
    @emotion/react: ^11.13.0 => 11.13.0
    @emotion/styled: ^11.13.0 => 11.13.0
    @mui/base:  5.0.0-beta.40
    @mui/core-downloads-tracker:  5.16.6
    @mui/icons-material: ^5.15.19 => 5.15.19
    @mui/material: ^5.16.6 => 5.16.6
    @mui/private-theming:  5.16.6
    @mui/styled-engine:  5.16.6
    @mui/system:  5.16.6
    @mui/types:  7.2.15
    @mui/utils:  5.16.6
    @mui/x-charts: ^7.12.0 => 7.12.0
    @mui/x-charts-vendor:  7.12.0
    @mui/x-date-pickers: ^7.7.0 => 7.7.0
    @types/react: ^18.2.66 => 18.2.78
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript: ^5.5.4 => 5.5.4

Search keywords: none

@CzarOfScripts CzarOfScripts added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Oct 23, 2024
@github-actions github-actions bot added the component: charts This is the name of the generic UI component, not the React module! label Oct 23, 2024
@alexfauquette alexfauquette added duplicate This issue or pull request already exists and removed bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Oct 23, 2024
@alexfauquette
Copy link
Member

Thanks for reporting this issue. I'm closing it because it's a duplicate of #13885 Will be easier for us to track only one issue with all the feedback in it.

TLTR: It's a trade-off between the two possible effect a touch move could have on the chart: "scrolling the view" or "interacting with the chart". If you have a precise expected behavior could you share it in #13885 ?

Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Note

@CzarOfScripts How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: charts This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants