ashmind / SharpLab

.NET language playground
https://sharplab.io
BSD 2-Clause "Simplified" License
2.74k stars 202 forks source link

Accepting a suggestion in the editor removes everything in front of the cursor #1352

Open inosik opened 5 days ago

inosik commented 5 days ago

Accepting a suggestion removes everything in front of the cursor:

https://github.com/user-attachments/assets/78ebd74d-d659-443d-851f-548ffa0eadab

This happens on Tab and typing . or ( when a suggested item is already typed. I'm using Firefox on Windows but my colleague who uses Chrome can reproduce that too.

inosik commented 5 days ago

Same on a third machine (macOS + Safari).

Akeit0 commented 1 day ago

This bug does not occur when anything other than default is selected.

スクリーンショット 2024-11-25 084152

inosik commented 15 hours ago

Seems to affect C# only. Does not happen with F# or VB.