Web:Files:Hocs: fix keyup on create docx after merge
This commit is contained in:
parent
a0651ecca4
commit
58bd9509a1
@ -177,7 +177,10 @@ const withHotkeys = (Component) => {
|
||||
);
|
||||
|
||||
//Crete document
|
||||
useHotkeys("Shift+d", () => onCreate("docx"), hotkeysFilter);
|
||||
useHotkeys("Shift+d", () => onCreate("docx"), {
|
||||
...hotkeysFilter,
|
||||
...{ keyup: true },
|
||||
});
|
||||
|
||||
//Crete spreadsheet
|
||||
useHotkeys("Shift+s", () => onCreate("xlsx"), {
|
||||
|
Loading…
Reference in New Issue
Block a user