-
Notifications
You must be signed in to change notification settings - Fork 39.7k
Touch doesn't work in Suggest widget #78984
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggood first issueIssues identified as good for first-time contributorsIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiessuggestIntelliSense, Auto CompleteIntelliSense, Auto CompleteverifiedVerification succeededVerification succeeded
Milestone
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggood first issueIssues identified as good for first-time contributorsIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiessuggestIntelliSense, Auto CompleteIntelliSense, Auto CompleteverifiedVerification succeededVerification succeeded
Steps to Reproduce:
If you don't have a touch device, you can open dev tools (Ctrl+Shift+I) and click Toggle device toolbar to emulate touch.
The issue is in
SuggestWidget- it disablesmouseSupportand then only handles mouse events (butmouseSupportalso handles touch events)vscode/src/vs/editor/contrib/suggest/suggestWidget.ts
Lines 503 to 519 in 5ea298a
This was already once fixed in list widget (#9338), but then broken again in suggest widget.