Problem description:
When I hover over a function in my code and the code actions lightbulb pops up and I click it, it just jumps to the top of the page.
Expected behavior:
Open a little box that lets you do code actions. (e.g. move to new file, convert to arrow function, etc.)
Actual behavior:
Instead clicking it just jumps scrolls to the top of my source file.
Steps to reproduce:
- Fork https://replit.com/@boston2029/Crafting#script.js (or make a function in a JS file that doesn’t use arrow functions/isnt in its own file/etc.)
- place cursor on the function
updateHighlight
’s name - wait for a yellow lightbulb icon to pop up and click it
- page jumps to top of source file
Bug appears at this link:
https://replit.com/@boston2029/Crafting#script.js (when in Editor, not cover page)
Browser/OS/Device:
Windows 11 Home, Microsoft Edge version 114.0.1823.82 (Official build) (64-bit)
I don’t know many people who use that feature but the functionality shouldn’t be like that.