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.
Separator
1 parent e08fe42 commit c6be5daCopy full SHA for c6be5da
lib/global/event-handlers/onWindowPointerDown.ts
@@ -18,13 +18,21 @@ export function onWindowPointerDown(event: PointerEvent) {
18
const separators = new Set<RegisteredSeparator>();
19
const initialLayoutMap = new Map<RegisteredGroup, Layout>();
20
21
+ let didChangeFocus = false;
22
+
23
hitRegions.forEach((current) => {
24
groups.add(current.group);
25
current.panels.forEach((panel) => {
26
panels.add(panel);
27
});
28
if (current.separator) {
29
separators.add(current.separator);
30
31
+ if (!didChangeFocus) {
32
+ didChangeFocus = true;
33
34
+ current.separator.element.focus();
35
+ }
36
}
37
38
const match = mountedGroups.get(current.group);
0 commit comments