-
Notifications
You must be signed in to change notification settings - Fork 76
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
Flow: do not remove child items from the DOM when drilling #5072
Comments
@benelan @jcfranco Is this something we want to do pre 1.0? If we add an |
@driskull We're looking for a |
Sounds good @geospatialem. I can work on this. |
@geospatialem have prototype here: #9390 Can we unspike this? 🌵 |
…dds selected property (#9390) **Related Issue:** #5072 ## Summary - Add `selected` property to `calcite-flow-item`. - Sets the last `calcite-flow-item` as `selected` if no other is `selected. - Requires custom classes implementing `FlowItemLikeElement` to have a `selected` property - Cleans up animation by removing class after animation is complete - update tests - update demo and add placeholder image (the url is slow) - update stories BREAKING CHANGE: The new `selected` property on `calcite-flow-item` must be used to define which `calcite-flow-item` is shown.
Installed and assigned for verification. |
🍡 Verified on |
Description
Update
calcite-flow
to no longer remove acalcite-flow-item
from the DOM when drilling. Instead, aselected
property should be added tocalcite-flow-item
to determine which item is actively visible instead of assuming the last child item in a flow wins. Thecalcite-flow
will be updated to look at theselected
property of acalcite-flow-item
.Acceptance Criteria
selected
property on Flow Item is used insteadRelevant Info
blocked until #5071 is completed
Which Component
calcite-flow
calcite-flow-item
Example Use Case
No response
The text was updated successfully, but these errors were encountered: