Open rapatel0 opened 2 years ago
Honestly, I have no idea if this is possible.
I also see some issues with your specific suggestion though: I often find myself opening a Google Keep note and then moving my cursor to an Obsidian note to scroll in the note while, simultaneously, typing information into the Google Keep note. With your idea of a frame only being active when the mouse is hovering over it, that wouldn't work anymore, and I can't help but think that it might be more annoying than useful all in all.
If you have any ideas on how to solve this problem without making it dependent on the cursor position, please let me know!
I'll look into it, but your right it might end up being a bit painful to handle
FYI, here is how Obsidian Surfing does it: https://github.com/PKM-er/Obsidian-Surfing/blob/main/src/surfingView.ts#L233-L271
Right now custom frames dominate the focus. You have to click outside of the window to bring focus back to obsidian.
it would be nice if a focus is only applied to the view when the mouse is hovering over it and focus goes back to the main obsidian viewer when the mouse leaves the pane.
Note: I'm not sure if this is something that is within the scope of plugin or needs to be made in obsidian itself.
This old bug has good animation of the issue so linking it here. https://github.com/electron/electron/issues/13057