Expander expand and collapse delays #3335
-
Hi! Is it possible for me to adjust the expand and collapse delays for the Expander? If so, how? Kind regards, Pontus |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@PontusLindberg Unfortunately I don't think there is an easy way for you to modify these without re-doing (copy+modify) the You can see the delays defined here, and below them you'll find the styles which use them. You effectively need to override these styles for your instance(s) of the |
Beta Was this translation helpful? Give feedback.
@PontusLindberg Unfortunately I don't think there is an easy way for you to modify these without re-doing (copy+modify) the
Style
forExpander
and the associatedToggleButton
yourself.You can see the delays defined here, and below them you'll find the styles which use them. You effectively need to override these styles for your instance(s) of the
Expander
and provide another delay. This has the down-side that you opt-out of any tweaks/modifications that happens to the MDIX styles in future releases; you'll manually need to resync your own implementation.