Describe the issue
When lineWrapping is enabled in CodeMirror, a visual selection rendering issue occurs specifically on Huawei tablet devices. After performing a cross-line selection (selecting across multiple wrapped lines) and then dragging the mouse/touch back to the start of the second wrapped line, the highlight on the first wrapped line fails to clear visually. Notably, the underlying selection range data is correct — the issue is purely a rendering/layout artifact. This does not occur on all devices .
I am using codemirror/view version 6.0.0
Browser and platform
Huawei tablet
Reproduction link
No response