Open narekharutyunyan opened 5 years ago
Hi, I'm encountering the same behavior - open lightbox from a modal dialog and ESC closes both lightbox and the dialog.
A method to stop the event propagation would be great - maybe pass the vent as suggested, or a new option.
I'm working it around by checking if lightbox is open in my dialog close code and ignoring ESC if so.
Hi, no updates about this?
I've my lightbox control in modal dialog and when I press "Esc" it closes both lightbox and dialog.
I would be great if you can extend this._lightboxEvent.broadcastLightboxEvent method to pass $event as well (this._lightboxEvent.broadcastLightboxEvent({..., $event: $event})) so preventDefault() can be called from client side.