When undo and redo in JavaScript, it completely screws up the text

See attached screenshot. The more I undo and redo, the more everything gets completely messed up. I know this isn't Visual Studio's fault.
Horrible, horrible bug, please fix.
Please sign in to leave a comment.
Hi,
Could you please let us know the following info:
Thank you.
Hi,
1. Build 241.0.20240607.153524 built on 2024-06-07
2. Yes.
3. Will have to wait until it re-occurs to test this.
Thank you for the reply.
Could you please try installing ReSharper 2024.2 EAP version and check if the problem is still reproduced.
Thank you.