Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-83223 core: Use capture with addEventListener to intercept events
The issue is that Bootstrap’s dropdown component likely stops event propagation after the first click to manage its own dropdown behavior. This prevents your click event handler from running on subsequent clicks. To fix this, we can handle the event before Bootstrap’s code stops the propagation by using capture option with addEventListener.
- Loading branch information