Open mgeier opened 2 years ago
Hi, sorry for the late review, I just hit this, but this doesn't fix the issue, I think we may need to narrow down the listener (currently set to the whole document), or may be another way to achieve this?
This kind of works https://github.com/readthedocs/readthedocs-sphinx-search/pull/104
This is untested, but it should prevent the keypress to be propagated after closing the popup, which is not desired, e.g. in https://github.com/sphinx-doc/sphinx/pull/9337.