microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.7k stars 29.45k forks source link

Scroll positon keep returning to first item on intellisense suggestions #224171

Closed Jsh007 closed 3 months ago

Jsh007 commented 3 months ago

Type: Bug

When i scroll through intellisense suggestion results using the up and down arrow, the scroll position keep returning to the first item in the suggestion dialog. For example; Assuming the triggered intellisense returned 10 items in the dialog box. And I'm using the down arrow key on my keyboard to move through the items list, as soon as I get to item 4, Vscode will automatcally return to item 1. Thus, making it impossible for me to look at the other options (option 5 - 10). I want this behaviour to stop because I often take time to read the description and example code that accompany some Intellisense suggestions.

VS Code version: Code 1.91.1 (Universal) (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:07:54.982Z) OS version: Darwin x64 22.6.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|2, 2, 2| |Memory (System)|16.00GB (0.17GB free)| |Process Argv|--crash-reporter-id 199bd3ae-8f17-497d-b2ac-5baca9b260fc| |Screen Reader|no| |VM|0%|
Extensions (108) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 codesnap|adp|1.3.4 project-manager|ale|12.8.0 sort-imports|ama|6.3.1 jest-snippets|and|1.9.1 vscode-color|ans|0.4.5 vscode-node-readme|ben|3.0.2 vscode-tailwindcss|bra|0.12.5 simple-react-snippets|bur|1.2.8 vscode-exports-autocomplete|cap|0.5.4 multi-cursor-case-preserve|Car|1.0.5 turbo-console-log|Cha|2.10.4 node-snippets|chr|1.3.3 npm-intellisense|chr|1.4.5 path-intellisense|chr|2.9.0 regex|chr|0.4.0 vscode-svgviewer|css|2.0.0 vscode-markdownlint|Dav|0.55.0 vscode-eslint|dba|3.0.10 githistory|don|0.6.20 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|15.2.3 vscode-npm-script|eg2|0.3.29 vsc-material-theme|Equ|34.4.0 prettier-vscode|esb|10.4.0 vscode-firefox-debug|fir|2.9.10 flow-for-vscode|flo|2.2.1 auto-close-tag|for|0.5.15 auto-complete-tag|for|0.1.0 auto-rename-tag|for|0.1.10 code-runner|for|0.12.2 fontsize-shortcuts|fos|1.5.0 copilot|Git|1.219.0 copilot-chat|Git|0.17.1 vscode-pull-request-github|Git|0.92.0 cloudcode|goo|2.15.0 vscode-test-explorer|hbe|2.21.1 svgeditor|hen|2.9.0 vscode-auto-open-markdown-preview|hnw|0.0.4 vscode-htmlhint|HTM|1.0.5 rest-client|hum|0.25.1 vscode-cdnjs|Jak|0.19.0 search-node-modules|jas|1.3.0 plantuml|jeb|2.18.1 svg|joc|1.5.4 vscode-peacock|joh|4.2.2 vscode-styled-components|jpo|1.6.6 rn-full-pack|kel|1.1.0 vscode-gutter-preview|kis|0.31.2 remove-unused-imports|kus|1.2.4 node-module-intellisense|lei|1.5.0 google-fonts|lio|0.0.1 marp-vscode|mar|2.8.0 Kotlin|mat|1.7.1 rainbow-csv|mec|3.12.0 vscode-language-babel|mgm|0.0.40 git-graph|mhu|1.30.0 dotenv|mik|1.0.1 mongodb-vscode|mon|1.6.1 regexsnippets|Mon|1.0.2 vscode-docker|ms-|1.29.1 vscode-postgresql|ms-|0.3.0 cpptools|ms-|1.21.4 test-adapter-converter|ms-|0.1.9 vsliveshare|ms-|1.0.5936 vscode-react-native|msj|1.13.0 color-highlight|nau|2.8.0 indent-rainbow|ode|8.3.1 vscode-jest|Ort|6.2.5 advanced-new-file|pat|1.2.2 material-icon-theme|PKi|5.8.0 remove-comments|pli|1.2.2 polacode|pnp|0.3.4 postman-for-vscode|Pos|1.1.0 vscode-thunder-client|ran|2.24.13 java|red|1.32.0 vscode-yaml|red|1.15.0 LiveServer|rit|5.7.9 mongo-snippets-for-node-js|roe|1.3.12 rust-analyzer|rus|0.3.2045 partial-diff|ryu|1.4.3 esdoc-mdn|sam|0.11.0 markdown-preview-enhanced|shd|0.8.13 vscode-fileutils|sle|3.10.3 autoimport|ste|1.5.4 addDocComments|ste|0.0.8 codegpt3|tim|1.1.2 lorem-ipsum|Tyr|1.3.1 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1 vscode-gradle|vsc|3.15.0 vscode-java-debug|vsc|0.58.0 vscode-java-dependency|vsc|0.24.0 vscode-java-pack|vsc|0.27.0 vscode-java-test|vsc|0.41.1 vscode-maven|vsc|0.44.0 vscode-icons|vsc|12.8.0 volar|Vue|2.0.8 gitblame|wad|11.0.1 vscode-wakatime|Wak|24.6.0 console-ninja|Wal|1.0.332 vscode-todo-highlight|way|1.0.5 vscode-import-cost|wix|3.3.0 change-case|wma|1.0.0 JavaScriptSnippets|xab|1.8.0 markdown-pdf|yza|1.5.0 markdown-all-in-one|yzh|3.6.2 material-theme|zhu|3.17.2 (3 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 9c06g630:31013171 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 refactorc:31101458 ccplc:31103425 pythonrstrctxtcf:31103194 1iic9185:31097392 wkspc-onlycs-t:31102394 ```
vs-code-engineering[bot] commented 3 months ago

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.

Happy Coding!

vs-code-engineering[bot] commented 3 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!