Test: Finalization of keepScrollPosition: boolean
in quickpick API
#137740
Labels
Milestone
keepScrollPosition: boolean
in quickpick API
#137740
Refs: #132068
Complexity: 3
Create Issue
This iteration we added a new property on the
QuickPick
object that allows you to control whether or not the scroll position (cursorTop
) in the quickpick moves back to the top of the list.npx vscode-dts main
QuickPick
object you get back from thewindow.createQuickPick()
API, play with the newkeepScrollPosition: boolean
Usecases:
QuickPickItemButton
s (think, Ctrl/Cmd + Px
QuickPickItemButton)QuickPickItemButton
s (think, "Insert Snippet" command)setInterval
adding an item to the list by reassigning the.items
property... scroll shouldn't jump to the top)Useful stuff
npx vscode-dts main
package.json
(see below)npx vscode-dts dev
to get the typingsThe text was updated successfully, but these errors were encountered: