web component rtl scrollbar add vertical and horizontal
This commit is contained in:
parent
e4525eefaa
commit
9acab40a4c
@ -45,6 +45,7 @@ const HotkeyPanel = ({
|
||||
(e.key === "Esc" || e.key === "Escape") && onClose();
|
||||
|
||||
useEffect(() => {
|
||||
scrollRef.current && scrollRef?.current?.view.focus();
|
||||
document.addEventListener("keyup", onKeyPress);
|
||||
|
||||
return () => document.removeEventListener("keyup", onKeyPress);
|
||||
|
Loading…
Reference in New Issue
Block a user