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.
2 parents 0d574f6 + bf7e812 commit 87c83abCopy full SHA for 87c83ab
web/base_tree_viewer.js
@@ -161,6 +161,8 @@ class BaseTreeViewer {
161
if (!treeItem) {
162
return;
163
}
164
+ // Pause translation when expanding the treeItem.
165
+ this._l10n.pause();
166
// Ensure that the treeItem is *fully* expanded, such that it will first of
167
// all be visible and secondly that scrolling it into view works correctly.
168
let currentNode = treeItem.parentNode;
@@ -171,6 +173,8 @@ class BaseTreeViewer {
171
173
172
174
currentNode = currentNode.parentNode;
175
176
+ this._l10n.resume();
177
+
178
this._updateCurrentTreeItem(treeItem);
179
180
this.container.scrollTo(
0 commit comments