Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting a character before changing it prefixes intermediate input state #26

Open
Bilge opened this issue Oct 3, 2024 · 1 comment

Comments

@Bilge
Copy link

Bilge commented Oct 3, 2024

If some characters are highlighted and then changed, the (live) output becomes corrupted, containing two states at once: the transitory state it would have been in if the character was first deleted, and also the output from the final version of the input. Pressing the delete key before typing the new character still behaves correctly.

firefox_0BsrZJdj3U

@Bilge Bilge changed the title Highlighting a character to change it does not clear previous output Highlighting a character to change it corrupts output Oct 3, 2024
@Bilge Bilge changed the title Highlighting a character to change it corrupts output Highlighting a character to change it prefixes intermediate input state Oct 3, 2024
@Bilge Bilge changed the title Highlighting a character to change it prefixes intermediate input state Highlighting a character before changing it prefixes intermediate input state Oct 3, 2024
@SjonHortensius
Copy link
Owner

The PHP-WASM is executed async from the main thread that clears the output - which most likely causes this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants