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 issue in sort dropdown with many values #36074

Closed
albertoperdomo opened this issue Nov 23, 2023 · 1 comment · Fixed by #40453
Closed

Scrolling issue in sort dropdown with many values #36074

albertoperdomo opened this issue Nov 23, 2023 · 1 comment · Fixed by #40453
Assignees
Labels
.Needs Triage Querying/GUI Query builder catch-all, including simple mode .Team/AdminWebapp Admin and Webapp team Type:Bug Product defects
Milestone

Comments

@albertoperdomo
Copy link
Member

albertoperdomo commented Nov 23, 2023

Describe the bug

When scrolling up from the bottom of the sort dropdown, it automatically takes you to the top again after two or three scrolls

To Reproduce

  1. Open https://stats.metabase.com/question/notebook#eyJkYXRhc2V0X3F1ZXJ5Ijp7ImRhdGFiYXNlIjoxNCwicXVlcnkiOnsic291cmNlLXRhYmxlIjoxMjMyfSwidHlwZSI6InF1ZXJ5In0sImRpc3BsYXkiOiJ0YWJsZSIsInZpc3VhbGl6YXRpb25fc2V0dGluZ3MiOnt9fQ==
  2. Click on Sort
  3. Scroll down to the bottom of the dropdown
  4. Scroll up a couple of times on the trackpad (with mouse wheel you could keep scrolling so it's a different pattern)
  5. After two or three scrolls the dropdown auto-scrolls to the top by itself

Expected behavior

It doen't interfere with my desired scrolling

Logs

No response

Information about your Metabase installation

- Chrome 119.0.6045.159
- Metabase Built on 2023-11-23 Hash: 3481e43

Severity

Moderate, it can be quite annoying if you have a dropdown with many values and you know the value you want is near the bottom

Additional context

@albertoperdomo albertoperdomo added Type:Bug Product defects .Needs Triage Querying/GUI Query builder catch-all, including simple mode .Team/QueryingComponents labels Nov 23, 2023
@uladzimirdev
Copy link
Contributor

Same issue happens when you update metadata

To Reproduce
Steps to reproduce the behavior:

  1. Go to New -> Question -> Orders -> Custom Column ( Field Formula =[Total] * 1 and name = custom_tax) -> Save -> Turn into model
  2. Go to Metadata -> Custom_Column -> Set field_type to Quantity

Scroll down/up and scroll position will jump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Needs Triage Querying/GUI Query builder catch-all, including simple mode .Team/AdminWebapp Admin and Webapp team Type:Bug Product defects
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants