fix(split-view): correct backwards navigation in grid layout, p=#12160

This commit is contained in:
TogiFerretFerret
2026-01-30 11:58:07 -05:00
committed by GitHub
parent 8e7ce1c12b
commit 2ae623b15c

View File

@@ -1386,10 +1386,10 @@ class nsZenViewSplitter extends nsZenDOMOperatedFeature {
new nsSplitLeafNode(tabs[i], 50),
new nsSplitLeafNode(tabs[i + 1], 50),
];
rootNode.addChild(columnNode);
rootNode.addChild(columnNode, false);
}
if (tabs.length % 2 !== 0) {
rootNode.addChild(new nsSplitLeafNode(tabs[tabs.length - 1], rowWidth));
rootNode.addChild(new nsSplitLeafNode(tabs[tabs.length - 1], rowWidth), false);
}
}