jsonnext / codemirror-json-schema

A JSONSchema enabled mode for codemirror 6, for json4 and json5, inspired by monaco-json
https://codemirror-json-schema.netlify.app
MIT License
63 stars 12 forks source link

The cursor behavior is inconsistent when typing in different positions #106

Open rookie-luochao opened 4 months ago

rookie-luochao commented 4 months ago

in the middle:

image

in the end:

image

The behavior is inconsistent when typing a key in the middle and at the end. The cursor automatically jumps to the incorrect position and does not automatically complete

Expect the cursor to behave the same when typing a key in the middle and at the end