Add active prop to QExpansionItem
#13321
-
|
Hi all! I'm making a menu, where I'd like the QExpansionItem to show as active when one of the QItems below it is active. Here's a codepen showing what I mean: https://codepen.io/sgielen-the-bashful/pen/MWQYXaG Since the "Sent" QItem is "active", I'm marking the "E-mail" QExpansionItem as active, but it's not becoming blue. I think this would be resolved if QExpansionItem got an WDYT? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I worked around this by adding a |
Beta Was this translation helpful? Give feedback.
I worked around this by adding a
.my-activeclass to active QExpansionItems with the following definition: