sachinraja/rodemirror

Cannot batch selection and value changes

arusahni opened this issue · 0 comments

Thank you for this library. I'm attempting to set the value and selection attributes simultaneously, but encountering a "Selection points outside of document" error when doing so. As best as I can see, this is because the selection transaction occurs before the update transaction. Is there a recommended way to combine the two?