Skip to content

fix(OutsideDirective): enable event capture

Paul Gascou-Vaillancourt requested to merge 1989-listbox-unexpected-close into main

Integration MR: gitlab!101692 (closed)

Note: The many failures in the integration branch seem to be related to da13fccc and are being fixed in !3096 (closed) and gitlab!101435 (closed).

What does this MR do?

This enables the capture option in the outside directive's event listener. This ensures that removing an element from the DOM right after clicking on it doesn't trigger the handler unexpectedly.

Before After
before after

Closes #1989 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports

Loading