You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the demo on https://jsonnet.org, if you hit redo/undo for multiple characters, the demo breaks. This seems to be because the browser generates multiple text change events (Chrome 139, MacOS 14.6).
Currently, the implementation of the click handler in aux_demo does not synchronize to deduplicate these events, resulting in duplicate or untracked tabs being added to the demo. Because aux_demo calls await (which yields) the DOM call order becomes clear-clear-add-add instead of clear-add-clear-add, resulting in the below behavior.
This can be reproduced by typing two or more keystrokes and then undo (ctrl/cmd + Z).