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

Using the RangeSlider inside the Filter component is broken when it's not the first filter #12480

Open
vividviolet opened this issue Jul 30, 2024 · 1 comment
Labels
Bug Something is broken and not working as intended in the system. untriaged

Comments

@vividviolet
Copy link
Member

vividviolet commented Jul 30, 2024

Summary

The Range Slider filter doesn't work if it's set as the second filter.

Expected behavior

Dragging inside the RangeSlider should work

Actual behavior

Range Slider works fine as the first applied filter. It breaks when applied as a second filter.

Screen.Recording.2024-07-30.at.1.00.20.PM.mov

Steps to reproduce

  1. Go to the Polaris example page: https://polaris.shopify.com/components/selection-and-input/filters?example=filters-with-a-resource-list
  2. Select "Account status" as the first filter
  3. Select "Money spent" as the second filter and try to set the range
  4. See error

Are you using React components?

None

Polaris version number

13.8.0

Browser

Chrome

Device

MacOS Sonoma 14.5

@vividviolet vividviolet added Bug Something is broken and not working as intended in the system. untriaged labels Jul 30, 2024
@goldenpine
Copy link

goldenpine commented Sep 18, 2024

The same issue can be reproduced on the 'IndexTable' as well, https://polaris.shopify.com/components/tables/index-table?example=index-table-with-views-search-filter-sorting.

Also reproducible in my App dev environment:
Chrome Version 128.0.6613.138 (Official Build) (64-bit)
Polaris version used in my App: 12.22.1.
OS: Windows 11 Pro.

It really impacts the App development if a range filter is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken and not working as intended in the system. untriaged
Projects
None yet
Development

No branches or pull requests

2 participants