After typing the keyword "let" in the console, the last letter will be automatically selected

kenwa 1 Reputation point
2022-09-11T10:55:32.067+00:00

When enter the variable name or keyword such as "let" or "const" of the defined variable on the console of the Microsoft Edge browser development tool, the last letter will be automatically selected.
239871-%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE-2022-09-11-185827.png
239770-%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE-2022-09-11-191346.png
After that, if type any characters or Spaces, the selected character will be replaced by the value you typed.

If I enter the code in the usual way, the selected letter will be replaced.
239823-%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE-2022-09-11-185845.png
239778-%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE-2022-09-11-192341.png
If that is convenient, please tell me how to avoid such problems.

Browser version number: 105.0.1343.33

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,289 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yu Zhou-MSFT 13,116 Reputation points Microsoft Vendor
    2022-09-12T04:34:54.317+00:00

    Hi @kenwa

    I use the same version of Edge but I can't reproduce the issue. It looks like that your cursor is in insert mode in devtools. You can press Insert in keyboard to check if the cursor can become normal mode.

    If it still doesn't work, I suggest that you can restore devtools to default settings according to Restore default settings.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,
    Yu Zhou

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.