Skip to content

Pre-select the only item in the list lists with single items

When an app asks for permission to see the screen but there is only a single screen, or permission to see a window but there is only a single window, the user will be shown a permissions dialog that has a list view of screens or windows with only one item in it. The user will need to manually click on that one item before the Share button will become enabled, which is annoying and somewhat unintuitive.

This commit refines that workflow so that if the permissions dialog is showing a single item in its list, that single item is pre-selected so that the user only has to click on the "Share" button.

Before After
Before After

cc @teams/usability

Merge request reports