Skip to content
Snippets Groups Projects
Commit 8e4fe385 authored by chris's avatar chris
Browse files

keep focus on table creation

parent 7bfe6b6b
No related branches found
No related tags found
1 merge request!526new wrapper component
......@@ -65,8 +65,10 @@ const CreateTable = ({ item }) => {
active={isOpen}
disabled={isDisabled}
iconName={icon}
onMouseDown={() => {
onMouseDown={e => {
e.preventDefault();
setIsOpen(!isOpen);
activeView.focus();
}}
title={
!isEmpty(i18n) && i18n.exists(`Wax.Tables.${title}`)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment