ethereum / remix-project

Remix is a browser-based compiler and IDE that enables users to build Ethereum contracts with Solidity language and to debug transactions.
https://remix-ide.readthedocs.io
MIT License
2.36k stars 888 forks source link

BUG: Text cursor lagging behind its actual position #4785

Open sricharanandra opened 2 months ago

sricharanandra commented 2 months ago

This issue was previously raised in #2007 and fixed in #2027 but it seems it has come back.

Since yesterday, the cursor in Remix IDE on Arc Browser is lagging behind 2-3 characters. The cursor is 2 characters behind as in if i type the word "five", and then i want to continue typing the word "fives" then instead of the cursor being after "e" its blinking between "i" and "v".

I have checked for the same on Brave Browser, and it seems to working perfectly there.

I have cleared cookies for Remix just in case but it doesn't seem to fix it.

I have attached a clip to demonstrate it more clearly.

https://github.com/ethereum/remix-project/assets/114226379/2907372b-fec3-48c8-9f27-a5a7e9ef2f4e

Aniket-Engg commented 2 months ago

Hello @sricharanandra , it can be browser specific. Do you face it in any other browser? You can see the supported browser in this section: https://github.com/ethereum/remix-project?tab=readme-ov-file#remix-ide

sricharanandra commented 2 months ago

It could be browser specific sure, but running it in incognito doesn't have the bug. It seems specifically in this profile of the browser it's buggy. Is there a setting in the IDE, a key bind or something that changes the cursor behavior?

I checked in Google Chrome and Brave too and there's no issues there. Within the buggy browsers, the bug doesn't occur in incognito mode. Clearing the cookies hasn't helped.

Aniket-Engg commented 2 months ago

Is there a setting in the IDE, a key bind or something that changes the cursor behavior?

@LianaHus do you think we have something like that?

sricharanandra commented 2 months ago

It could be any key-bind related to the workspace actions that may have had an unintended side-effect of messing up the cursor margin