Don't apply hidden
when keepMounted=true
for inline elements
#1298
Labels
breaking change
component: checkbox
This is the name of the generic UI component, not the React module!
component: menu
This is the name of the generic UI component, not the React module!
component: radio group
This is the name of the generic UI component, not the React module!
component: radio
This is the name of the generic UI component, not the React module!
If a given element is inline, like an indicator, we can break consistency with popups (elements overlaid on top of the UI) by not applying the
hidden
DOM prop while it's kept mounted. This feels a bit more intuitive.For animations, you can use
[data-starting-style]
on indicators that aren't kept mounted already, but you might want to rely on the parent to perform the animation rather than the indicator itself.Workaround
Specify
hidden={false}
manually:<Indicator keepMounted hidden={false}>
The text was updated successfully, but these errors were encountered: