@codemirror/view 6.38.5 → 6.38.6

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 6.38.6 (2025-10-13)
2
+
3
+ ### Bug fixes
4
+
5
+ Work around a regression in Safari 26 that causes fragments of old selections to remain visible.
6
+
1
7
  ## 6.38.5 (2025-10-07)
2
8
 
3
9
  ### Bug fixes
package/dist/index.cjs CHANGED
@@ -9130,7 +9130,7 @@ class LayerView {
9130
9130
  old = next;
9131
9131
  }
9132
9132
  this.drawn = markers;
9133
- if (browser.ios) // Issue #1600
9133
+ if (browser.safari && browser.safari_version >= 26) // Issue #1600, 1627
9134
9134
  this.dom.style.display = this.dom.firstChild ? "" : "none";
9135
9135
  }
9136
9136
  }
package/dist/index.js CHANGED
@@ -9125,7 +9125,7 @@ class LayerView {
9125
9125
  old = next;
9126
9126
  }
9127
9127
  this.drawn = markers;
9128
- if (browser.ios) // Issue #1600
9128
+ if (browser.safari && browser.safari_version >= 26) // Issue #1600, 1627
9129
9129
  this.dom.style.display = this.dom.firstChild ? "" : "none";
9130
9130
  }
9131
9131
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemirror/view",
3
- "version": "6.38.5",
3
+ "version": "6.38.6",
4
4
  "description": "DOM view component for the CodeMirror code editor",
5
5
  "scripts": {
6
6
  "test": "cm-runtests",