JetBrains: It's possible to move the focus away from any input components in the web view
Created by: philipp-spiess
In a regular web browser, when you click on something that is not interactive, the focus is moved the <body>
element.
This is a behavior that we do not want in our search web view though since it moves focus away from the search input so you can not continue to type and use the arrow keys to navigate the search result list.
I tried to work around this by adding pointer-events: none;
to places inside the list results but there are still areas that you can click that moves the focus away. I think we need a better workaround for this issue instead (something like a global event listener that prevents that in the first place).