Skip to content

Expander expand and collapse delays #3335

Closed Answered by nicolaihenriksen
PontusLindberg asked this question in Q&A
Discussion options

You must be logged in to vote

@PontusLindberg Unfortunately I don't think there is an easy way for you to modify these without re-doing (copy+modify) the Style for Expander and the associated ToggleButton 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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PontusLindberg
Comment options

Answer selected by PontusLindberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants