blackboardsh/electrobun

new webview layer interactivity logic selecting hidden webviews

Closed this issue · 1 comments

repro:

  • in co(lab) open a web tab
  • open a GIT tab or code tab in the same pane
  • notice that below about 20px of the tab (where the web slate's browser controls are) the git or code tab is not interactive.
  • you can click on the top section and then use keyboard to navigate below the area of non-interactivity

background:
likely the new objc logic for selecting the top-most webview to make interactive on mousemove is making the hidden webview tab interactive but since it's hidden it just ends up adding the wkwebkit's NSView over the area eating up mouse events or something like that.

solution:
need to update the logic to check if the webview is hidden and skip over it if so

fixed in 49174f8