Skip to content

Conversation

@aasimkhan30
Copy link
Contributor

I am changing how escape keys works in ListWidget.

Currently, the focus gets trapped inside the component when an escape key is pressed.

My proposed change unselects all the items on first escape (current logic) and then it lets the default behavior take over.

@aasimkhan30 aasimkhan30 changed the title Aasim/fix/list widget escape Nov 17, 2020
@joaomoreno
Copy link
Member

joaomoreno commented Nov 17, 2020

Have you tested this? In what feature?

I ask because keyboard shortcuts are handled in a special way in the workbench, so this code shouldn't run on a lot of list instances.

@joaomoreno joaomoreno added the info-needed Issue requires more information from poster label Nov 17, 2020
@aasimkhan30
Copy link
Contributor Author

I did test this in quickInput component and it seems to work fine. Is there anything in particular that you want me to test?

@joaomoreno
Copy link
Member

Can you please provide a screen recording of the issue?

@joaomoreno joaomoreno added this to the November 2020 milestone Nov 25, 2020
@joaomoreno joaomoreno added list-widget List widget issues and removed info-needed Issue requires more information from poster labels Nov 25, 2020
@joaomoreno joaomoreno merged commit 221a557 into microsoft:master Nov 25, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

list-widget List widget issues

2 participants