abrudz/lb

Strange interaction with language bars on ATO

pxeger opened this issue · 1 comments

https://chat.stackexchange.com/transcript/message/60842306#60842306

  1. Install BQN language bar
  2. Go to https://ato.pxeger.com/run?L=bqn
  3. Type \ G to insert 𝔾
  4. Press the Run button
  5. Observe that the text you just typed has been deleted

This only happens if you immediately click the run button. If you focus anywhere else on the page, there's no problem.

I suspect the problem is an event handler not being called somewhere, which means the changes you write are not committed to the ATO app state and saved in the URL query, so that when you run the code the text is overwritten with its old value. I'm still investigating.