@codemirror/view
Advanced tools
Changelog
6.36.3 (2025-02-18)
Make sure event handlers registered with domEventHandlers
are not called during view updates, to avoid triggering nested update errors.
Don't include the window scrollbars in the space available for displaying tooltips.
Work around an issue with Chrome's EditContext
that shows up when using autocompletion while composing with Samsung's virtual Android keyboard.
Changelog
6.36.2 (2025-01-09)
Fix an issue where some kinds of relayouts could put the editor in a state where it believed it wasn't in window, preventing relayout, though it in fact was.
Make sure macOS double-space-to-period conversions are properly suppressed.
Fix an issue where native selection changes, such as mobile spacebar-drag, weren't being picked up in edit context mode.
Changelog
6.36.1 (2024-12-19)
Fix a crash in MatchDecorator when updating matches at the end of the document.
Changelog
6.36.0 (2024-12-17)
Make selection rectangles verticaly align precisely, rather than introducing a slight overlap.
Fix an issue in MatchDecorator
that caused it to fully rebuild its decorations on normal edits.
View updates now have a viewportMoved
flag that is only true when a viewport change originated from something other than mapping the viewport over a document change.
Changelog
6.35.3 (2024-12-09)
Fix an issue where mark decorations that got merged or split weren't properly redrawn.
Avoid spurious focus events by not updating the DOM selection when the editor is unfocused but focusable.
Disable writingsuggestions
for the editable element, to opt out of Safari's new intelligence completions (which mess up in the editor).
Changelog
6.35.2 (2024-12-07)
Fix an issue on Chrome where typing at the end of the document would insert a character after the cursor.
Changelog
6.35.1 (2024-12-06)
Work around another crash caused by incorrect composition positions reported by EditContext
.
Stop disabling custom cursors on Safari version 11.4 and up, which support caret-color
.
Fix an issue where a tooltip with wrapped content could, in some circumstances, fail to find a stable position due to a cyclic dependency between its width and its position.
Changelog
6.35.0 (2024-11-21)
Tooltips can now use the clip
option to control whether they are hidden when outside the visible editor content.
Changelog
6.34.3 (2024-11-15)
Make sure positions covered by a gutter or a panel aren't treated as visible for the purpose of displaying tooltips.
Properly include the tooltip arrow height when checking whether a tooltip fits in its preferred above/below position.
Fix an issue with compositions on Chrome inserting their content in the wrong position when another document change came in during composition.