Open jarradraumati opened 1 year ago
Transferring to the main project: https://github.com/danyill/oscd-subscriber-later-binding
Seems like a good idea, thanks.
Although it seems like a good idea, Material Web Components 0.27 doesn't seem to readily support this. The internets suggests that preventDefault
or stopPropagation
could be options in some cases/frameworks but they haven't worked for me.
Material Design 3 and Material Web Components 1.4.0 does seem to support this using the keepOpen
attribute
https://github.com/danyill/oscd-subscriber-lb-siemens/assets/3224671/762b68ca-506f-4c55-962c-167a8562a9e1
When I click the menu and select a tick-box, the menu disappears.
An improvement would be if the menu persisted until the user clicked away (or clicked the menu button again). That would allow the user to select multiple tick-boxes without having to click the menu button again (saving some clicks).