@trebco/treb 27.12.1 → 27.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trebco/treb",
3
- "version": "27.12.1",
3
+ "version": "27.12.2",
4
4
  "license": "LGPL-3.0-or-later",
5
5
  "homepage": "https://treb.app",
6
6
  "repository": {
@@ -328,6 +328,11 @@ export class OverlayEditor extends Editor<ResetSelectionEvent> {
328
328
  this.edit_node.spellcheck = false;
329
329
  }
330
330
 
331
+ // move the rect before monkeying with the selection, otherwise we
332
+ // get jumpy scrolling behavior in scrolled contexts.
333
+
334
+ rect.ApplyStyle(this.container_node);
335
+
331
336
  this.autocomplete?.ResetBlock();
332
337
  this.selection = gridselection;
333
338
 
@@ -343,7 +348,6 @@ export class OverlayEditor extends Editor<ResetSelectionEvent> {
343
348
 
344
349
  }
345
350
 
346
- rect.ApplyStyle(this.container_node);
347
351
  this.editing = true;
348
352
 
349
353
  Promise.resolve().then(() => {