textual icon indicating copy to clipboard operation
textual copied to clipboard

Key events out of order

Open darrenburns opened this issue 3 years ago • 2 comments

Copy and paste some text into a Textual app with devtools connected and note that the ordering is incorrect.

The first letter and last letter are correct. There are a couple of different combinations for the letters in between.

darrenburns avatar May 10 '22 12:05 darrenburns

I've stumbled upon the same issue (I guess) by checking out the css branch and pasting text into the first field (tested there since it doesn't do autocompletion).

The first letter and last letter are correct.

That's not necessarily the case in my experience.

It seems like the pasted text is handled character by character in an async fashion resulting in a different letter-order on each paste.

aradipe avatar Jun 06 '22 21:06 aradipe

just tested again with commit fe151a7f and this seems fixed, thanks!

aradipe avatar Jun 09 '22 21:06 aradipe

Did we solve your problem?

Consider buying the Textualize developers a coffee to say thanks.

Textualize

github-actions[bot] avatar Sep 22 '22 14:09 github-actions[bot]