Description
Filters that have been previously applied to a table in Spreadsheet do persist when the component is detached and then re-attached to the UI, but the "Clear filters" button in the filter-dropdown is not shown after detach/re-attach.
Expected outcome
The button should always be shown when the column has active filters.
Minimal reproducible example
Observed in a production app.
Steps to reproduce
- Render Spreadsheet with table in the UI.
- Apply filters.
- Invoke a function that detaches the Spreadsheet from the UI.
- Invoke a function that re-attaches the Spreadsheet to the UI.
- Observe "Clear filters" button not appearing on the column with filters still applied.
Environment
Vaadin version(s): 25.1
Browsers
Issue is not browser related
Description
Filters that have been previously applied to a table in Spreadsheet do persist when the component is detached and then re-attached to the UI, but the "Clear filters" button in the filter-dropdown is not shown after detach/re-attach.
Expected outcome
The button should always be shown when the column has active filters.
Minimal reproducible example
Observed in a production app.
Steps to reproduce
Environment
Vaadin version(s): 25.1
Browsers
Issue is not browser related