ECuiDev / obsidian-quiz-generator

Generate interactive quizzes from your notes using OpenAI's GPT-3.5 and GPT-4 models.
MIT License
40 stars 3 forks source link

Unable to use keyboard shortcut when modal UI is open #7

Open calimbrasti94 opened 1 month ago

calimbrasti94 commented 1 month ago

Hello @ECuiDev,

using the plugin I have noticed that it makes it impossible to use keyboard shortcuts when the modal UI is open (in my case, I have 'ctrl+s' to lint the file with the “linter” plugin, when the UI is open I can't, as well as other shortcuts), or, the “Hover” plugin doesn't even work in a second open Obisdian window when the UI is active in another window. Also, it would be very convenient if the UI did not prevent interacting with the file but could behave like the “Hover” plugin windows.

lastly (I didn't want to open another issue for this), on Android, the UI's “answer box” fails to include “short-answers” that are too long and cuts out some text, also preventing scrolling to continue reading.

Thank you very much for this plugin, I use it every day ! hope I was helpful.

ECuiDev commented 1 month ago

Hi,

Regarding the keyboard shortcuts and the Hover plugin not working in a second Obsidian window, I'm pretty sure this is a consequence of Obsidian's Modal class, but I'll see what I can do.

As for the UI not preventing interaction with the file, what do you mean by interaction? Do you mean being able to move the modal around like in this demo video from the Hover Editor plugin?

Lastly, are you using any themes on Android? Certain themes seem to interfere with text overflow which I'm already working on a fix for. If you could attach a screenshot of what you're seeing that would be greatly appreciated.

calimbrasti94 commented 1 month ago

Yes, I mean as for the hover plugin, about the ability to move the UI.

For Android, I've used both the anupuccin theme and the default theme, and they both behave in the same way.