maui icon indicating copy to clipboard operation
maui copied to clipboard

CarouselView IsSwipeEnabled="False" still scrolls with tab navigation

Open Redth opened this issue 3 years ago • 1 comments

Description

On Android, even using IsSwipeEnabled="False" on a CarouselView, it is still possible to 'tab' through to the next item, causing the next item to scroll into view.

It looks like the RecyclerView layout manager we use will need to toggle enabling scroll on/off, or perhaps we need to look at the focusable properties of items and disable focus so they cannot be navigated to that way.

https://user-images.githubusercontent.com/271950/209175194-9204a7d0-f25d-498a-aecd-3bf2a35facff.mp4

Steps to Reproduce

See attached repro, run it on android, tab through the items and observe the unintended scrolling between items via focus changes.

Link to public reproduction project repository

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

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

API 31, did not test others

Did you find any workaround?

No response

Relevant log output

No response

Redth avatar Dec 22 '22 15:12 Redth

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.

ghost avatar Dec 22 '22 15:12 ghost

@Redth I wanted to use the carousel view for a wizard but given this bug its pretty unusable!! This is such a core control ! Any workarounds would be appreciated. Will this bug ever be fixed?

thanks in advance for any reply

gabsamples6 avatar Apr 22 '23 05:04 gabsamples6

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on android platform with above project. CarouselViewDisableSwipe12272

jinxinjuan avatar Jun 08 '23 03:06 jinxinjuan