Skip to content

Strange interaction with language bars on ATO #18

@pxeger

Description

@pxeger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions