- Replaced the use of `useShortcutScope` with `useConditionalHotkeyScope` in the Modal component for improved hotkey handling. - Updated the `useSwitchHotkeyScope` hook to maintain the current active scopes using `useLayoutEffect`. - Modified the SubviewLayout to conditionally enable the Escape key hotkey based on the active scope. These changes streamline hotkey management and enhance user experience across modal and subview interactions. Signed-off-by: Innei <tukon479@gmail.com> |
||
|---|---|---|
| .. | ||
| desktop | ||
| mobile | ||
| ssr | ||