farirpgs / fari-app

The Free and Open-Source VTT

Home Page:https://fari.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cursor resets to start of text area and/or loses recent text while editing

cloudaran opened this issue Β· comments

🚩 Describe the bug

While typing in a text area the cursor sometimes resets to the beginning of the text block, which can be very disruptive to typing.

πŸ”’ Steps to reproduce

Steps to reproduce the behavior:

  1. Go to a Text Block
  2. Begin typing
  3. Type for a long time OR pause for an extended period (?)

🟒 Expected behavior

Cursor position and typed content are not disturbed until a user is done typing (block loses focus?)

πŸ”΄ Actual behavior

Cursor resets to start of text block (may lose some typed text). Seems related to new auto-save or in-session behavior. May be a result of round-trip to server updating text block while user is still editing it; this should be halted until the user is finished editing, or at least not disrupt their cursor/typing when updating.

πŸ’… Screenshots

Not sure this could be easily captured in a SS.

πŸ–₯ Desktop or Smartphone

  • OS: Windows
  • Browser: Chrome, Firefox
  • Device: (multiple)

πŸ“„ Additional context

N/a

I was able to reproduce and found a potential fix: #477