Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CarouselView items are focusable #12271

Open
Redth opened this issue Dec 22, 2022 · 2 comments
Open

CarouselView items are focusable #12271

Redth opened this issue Dec 22, 2022 · 2 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@Redth
Copy link
Member

Redth commented Dec 22, 2022

Description

When using a CarouselView, the item container appears to be focusable when 'tabbing' through items. You can observe in the video that the entire item view turns 'gray' as it receives focus and tabbing again moves to the button.

The item view should not be focusable by default and setting AutomationProperties.IsInAccessibleTree="False" on the layout(s) inside the item template has no effect.

On android it appears that the SizedItemContentView container view is what receives focus, and probably needs to have Focusable=False set on it by default, or at least propagate up the focus value set on the immediate item within the template.

CarouselViewItemsFocusableRepro.mp4

Steps to Reproduce

Open the repro project, run it, use tab to focus between items.

Link to public reproduction project repository

https://github.com/Redth/MauiIssueRepros/tree/main/CarouselView/CarouselViewFocus12271

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android, Windows

Affected platform versions

All

Did you find any workaround?

No response

Relevant log output

No response

@Redth Redth added t/bug Something isn't working platform/windows 🪟 platform/android 🤖 area-controls-collectionview CollectionView, CarouselView, IndicatorView labels Dec 22, 2022
@Redth Redth added this to the Backlog milestone Dec 22, 2022
@ghost
Copy link

ghost commented Dec 22, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@jinxinjuan jinxinjuan added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels Jun 7, 2023
@jinxinjuan
Copy link
Collaborator

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on android and windows platform with sample project.CarouselViewFocus12271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants