List - dynamically changing list-items within a list causes existing filter and new list-items to be out of sync #10230
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Online
Issues logged by ArcGIS Online team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 5
A few days of work, definitely requires updates to tests.
impact - p1 - need for current milestone
User set priority impact status of p1 - need for current milestone
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Check existing issues
Actual Behavior
When a filter is applied to a
calcite-list
and thecalcite-list-items
within that list are modified, the resulting list-items that show up do not match what is expected based on thefilterText
.Expected Behavior
The filter and the list-items within a
calcite-list
should always be in sync.Reproduction Sample
https://codepen.io/iyouth66/pen/LYKMpbQ?editors=1000
Reproduction Steps
calcite-list
should populate with three list-items > Now filter by "Avenir" > The list items filter properly so that only two items are showing > Now click "List 2", which changes the content of the calcite-list to four different list-items > the items don't show up > Now change "Avenir" to "Aveni" to trigger a filter change > The filtered items show up again.Reproduction Version
Not a regression
Relevant Info
cc @driskull
Regression?
No response
Priority impact
impact - p1 - need for current milestone
Impact
Affects our font-picker in ArcGIS Online, which handles two filterable lists with unique content.
Calcite package
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: