gaelj / BlazorCodeMirror6

Blazor wrapper for CodeMirror 6
MIT License
20 stars 2 forks source link

Demo stops reporting selection ranges after change to document #9

Closed pm64 closed 10 months ago

pm64 commented 1 year ago

Steps to reproduce:

  1. Launch Examples.BlazorWasm demo project.
  2. Click anywhere inside the demo document.
  3. Observe that the current selection range is reported (for example, "From 74 to 74").
  4. Use the cursor keys to move the cursor around, and observe that the reported selection range changes with cursor movement.
  5. Make any change to the demo document.
  6. Use the cursor keys to move the cursor around, and observe that changes to the selection range are no longer being reported.