We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0402a4d commit a94d464Copy full SHA for a94d464
src/index.ts
@@ -41,6 +41,14 @@ export class KeyboardNavigation {
41
workspace.getSvgGroup().addEventListener('blur', () => {
42
navigationController.setHasFocus(workspace, false);
43
});
44
+ // Temporary workaround for #136.
45
+ // TODO(#136): fix in core.
46
+ workspace.getParentSvg().addEventListener('focus', () => {
47
+ navigationController.setHasFocus(workspace, true);
48
+ });
49
+ workspace.getParentSvg().addEventListener('blur', () => {
50
+ navigationController.setHasFocus(workspace, false);
51
52
}
53
54
/**
0 commit comments