You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At some point, when using the Collapse component, an auxiliary convenience behavior is needed. That is, the client user may need to let Collapse automatically close after clicking to expand Collapse, or after expanding Collapse, click outside Collapse. When the time comes, Collapse needs to be able to shrink in time instead of always being in an expanded state.
Vice versa, this is slightly different from the drop-down menu. The Collapse component can exist in 2 states for users to use.
Although you can use multiple-toggles-and-targets to cleverly implement similar functions, it is not as straightforward as having similar auxiliary behaviors directly, because those require clever and precise design and calculation.
The text was updated successfully, but these errors were encountered:
Prerequisites
Proposal
Collapse Is it possible to add a behavior in the drop-down menu, the automatic closing behavior of the drop-down menu?
Motivation and context
At some point, when using the Collapse component, an auxiliary convenience behavior is needed. That is, the client user may need to let Collapse automatically close after clicking to expand Collapse, or after expanding Collapse, click outside Collapse. When the time comes, Collapse needs to be able to shrink in time instead of always being in an expanded state.
Vice versa, this is slightly different from the drop-down menu. The Collapse component can exist in 2 states for users to use.
Although you can use multiple-toggles-and-targets to cleverly implement similar functions, it is not as straightforward as having similar auxiliary behaviors directly, because those require clever and precise design and calculation.
The text was updated successfully, but these errors were encountered: