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

IndexFilters applied filter pill not rendered after page refresh #12474

Open
CapySloth opened this issue Jul 29, 2024 · 0 comments
Open

IndexFilters applied filter pill not rendered after page refresh #12474

CapySloth opened this issue Jul 29, 2024 · 0 comments
Labels
Bug Something is broken and not working as intended in the system. Engineering

Comments

@CapySloth
Copy link

CapySloth commented Jul 29, 2024

Summary

Found a bug with IndexFilters component where applied filters aren't rendering pills as expected after a page refresh, for any IndexTable filter added with the "Add filter +" button. This is despite properties having correct values.

Expected behavior

After reloading, applied filters should display a pill per applied filter.

Actual behavior

Wrap animated gifs/videos in a details tag:

Summary of your gif(s)
polaris.bug.mp4

Steps to reproduce

Link to sandbox

  1. Navigate to a page implementing IndexTable with IndexFilters
  2. Click Search icon to start applying filters to IndexTable
  3. Apply filter with "Add filter +" button
  4. Refresh the page
  5. Observe that pills previously added are not rendered. Clicking the same filter, will pre-select the previously selected filter

Are you using React components?

  1. IndexTable
  2. IndexFilters

Polaris version number

"@shopify/polaris": "12.27.0"

Browser

Google Chrome

Device

MAC

@CapySloth CapySloth added Bug Something is broken and not working as intended in the system. untriaged Engineering and removed untriaged labels Jul 29, 2024
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. Engineering
Projects
None yet
Development

No branches or pull requests

1 participant