Hopefully Im posting this in the correct spot (let me know if there is a better location).
I’ve been building a few apps inside Hudiy and ran into a limitation with text inputs. When typing into search fields or other <input> boxes, certain keys are intercepted by Hudiy’s global shortcuts (for example:
- h = Home
g = Refresh
Arrows / Backspace / Space also trigger global actions
My Proposed solution:
- Add a global flag (hotkeysEnabled) that gates the Hudiy hotkey dispatcher.
Expose it to WebViews via an API, for example:Apps could toggle this automatically on focus/blur of text inputs.Code: Select all
hudiy.disableHotkeys(true); // suspend Hudiy global hotkeys hudiy.disableHotkeys(false); // re-enable them
- Add an option in applications.json:
This would suspend hotkeys whenever the app is in focus.
Code: Select all
{ "id": "myCustomApp", "disableHotkeysWhenActive": true }
- Improve usability for any app requiring search or login fields.
Preserve Hudiy shortcuts when focus leaves text input.
Thanks!