Popover gets closed in Firefox when it contains a select and you click on it
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.5k
- Forks
- 341
- Merge medio
- 14 min
- PR fusionados (30 d)
- 8
Descripción
If the popover contains an interactive `` element, when clicking on it in Firefox, a `mouseleave` event is emitted from the select and the popover, which then causes the popover to close, leaving the open select box hanging there on its own.
I have tried to capture the `mouseleave` event on the `select` and tried to prevent it from propagating up to the popover, but it doesn't work.
I know this seems to be a special case, as Firefox is doing weird things, but would it be possible to either not close on `mouseleave` if the target was a `select` or to allow a list of selectors that would not close the popover if `mouseleave` was raised on them.
Thanks in advance.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.