disableClickPropagation should not prevent events on element itself (and child elements) #7750
Open
Description
opened on Nov 7, 2021
Is your feature request related to a problem? Please describe.
By definition disableClickPropagation
should stop propagation to parent elements.
But currently if we apply disableClickPropagation
to some elements - we miss events of any feature bound to this element.
I suppose that is non-intuitive and limiting.
Describe the solution you'd like
It is possible to implement more intuitive behavior - only child elements' events should be ignored.
I propose to place related code in _findEventTargets
(instead of _isClickDisabled
)
Additional context
Proof of concept - interactive Popup (for click only).
Activity