@windoc/core 0.3.13 → 0.3.14

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/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var version = "0.3.13";
2
+ var version = "0.3.14";
3
3
 
4
4
  // src/dataset/enum/Common.ts
5
5
  var MaxHeightRatio = /* @__PURE__ */ ((MaxHeightRatio2) => {
@@ -6391,7 +6391,7 @@ var Cursor = class {
6391
6391
  if (isMobile && this.draw.isReadonly()) return;
6392
6392
  const agentCursorDom = this.cursorAgent.getAgentCursorDom();
6393
6393
  if (document.activeElement !== agentCursorDom) {
6394
- agentCursorDom.focus();
6394
+ agentCursorDom.focus({ preventScroll: true });
6395
6395
  agentCursorDom.setSelectionRange(0, 0);
6396
6396
  }
6397
6397
  }