forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ES|QL] Clicking the editor closes the documentation popover (elastic…
…#176394) ## Summary Part of elastic#166907 Fixes the problem with the eui popovers and the monaco editor. I am not sure why it is happening. I think it is due to the third party library that eui uses to detects the outside clicks. What I did to fix it: - Wrap the documentation popover in an EuiOutsideClickDetector - I force monaco editor to focus onMoyseDown ![meow](https://github.com/elastic/kibana/assets/17003240/f432608d-0801-4a68-b327-da1e8dec9f9a) This solves the problem on the documentation popover but not on the SuperDatePicker because I don't have a way to force it to close. I will ping the EUI team
- Loading branch information
Showing
2 changed files
with
52 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters