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

MAUI: Swipes on CheckBox and RadioButton do not scroll a ScrollView #358

Open
greg84 opened this issue Jun 19, 2023 · 0 comments
Open

MAUI: Swipes on CheckBox and RadioButton do not scroll a ScrollView #358

greg84 opened this issue Jun 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@greg84
Copy link

greg84 commented Jun 19, 2023

Describe the bug
When a RadioButton or CheckBox is added to a StackLayout inside a ScrollView, swiping on the controls does not scroll the content.

This worked fine in Xamarin.Forms, but no longer works in MAUI.

To Reproduce

  1. Create a new, blank MAUI app.
  2. Add the following XAML to the page:
<ScrollView>
    <StackLayout>
        <ContentView BackgroundColor="Yellow" HeightRequest="500" />
        <input:CheckBox Text="Hello" />
        <input:CheckBox Text="Hello" />
        <input:CheckBox Text="Hello" />
        <input:RadioButton Text="Hello" />
        <input:RadioButton Text="Hello" />
        <input:RadioButton Text="Hello" />
        <ContentView BackgroundColor="Yellow" HeightRequest="500" />
    </StackLayout>
</ScrollView>
  1. Observe that scrolling works fine when swiping on the yellow areas.
  2. Try to swipe up and down while touching a CheckBox or RadioButton.

Expected behavior
I would expect the ScrollView to scroll when a swipe gesture occurs on a CheckBox or RadioButton.

Smartphone (please complete the following information):

  • Device: iPhone 14 Simulator
  • OS: iOS 16.4

Additional context
Using InputKit.MAUI 4.3.0

@enisn enisn added the bug Something isn't working label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants