Navigation Menu

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

[Bug] iOS: Frame inside SwipeView can't be swiped #9588

Closed
tonivuc opened this issue Feb 14, 2020 · 0 comments
Closed

[Bug] iOS: Frame inside SwipeView can't be swiped #9588

tonivuc opened this issue Feb 14, 2020 · 0 comments
Labels
a/frame a/swipeview e/2 🕑 2 in-progress This issue has an associated pull request that may resolve it! p/iOS 🍎 t/bug 🐛

Comments

@tonivuc
Copy link

tonivuc commented Feb 14, 2020

Description

On iOS, a Frame as top-level content can't be swiped. Nothing happens if you attempt to swipe. If the Frame is placed in a Layout like ContentView or StackLayout it works. On Android swiping works as expected.

Steps to Reproduce

  1. Run the following code
<SwipeView>
    <SwipeView.RightItems>
        <SwipeItems>
            <SwipeItem Text="Favorite"
                               BackgroundColor="LightGreen"/>
            <SwipeItem Text="Delete"
                               BackgroundColor="LightPink" />
        </SwipeItems>
    </SwipeView.RightItems>
    <Frame>
        <Grid HeightRequest="60"
                  WidthRequest="300"
                  BackgroundColor="LightGray">
            <Label Text="Swipe left"
                       HorizontalOptions="Center"
                       VerticalOptions="Center" />
        </Grid>
    </Frame>
</SwipeView>

Expected Behavior

The frame moves when swiped.

Actual Behavior

The frame does not move when attempting to swipe.

Basic Information

  • Version with issue: Xamarin Forms version 4.5.0.282-pre4
  • Last known good version: Xamarin Forms version 4.5.0.142-pre1
  • IDE: Visual Studio 16.4.3
  • Platform Target Frameworks:
    • iOS: 13.3
  • Affected Devices: Tested on 5th gen iPad mini and iPhone Simulator

Reproduction Link

https://github.com/tonivuc/swipeview-frame-bug

Workaround

If the Frame is placed in a Layout like ContentView or StackLayout it works.

@tonivuc tonivuc added s/unverified New report that has yet to be verified t/bug 🐛 labels Feb 14, 2020
@pauldipietro pauldipietro added this to New in Triage Feb 14, 2020
@samhouts samhouts added this to Backlog in SwipeView via automation Feb 17, 2020
@samhouts samhouts added e/2 🕑 2 and removed s/unverified New report that has yet to be verified labels Feb 17, 2020
@samhouts samhouts moved this from New to Ready For Work in Triage Feb 17, 2020
@samhouts samhouts added the in-progress This issue has an associated pull request that may resolve it! label Feb 19, 2020
@samhouts samhouts added this to In Progress in v4.5.0 Feb 19, 2020
@samhouts samhouts removed this from Ready For Work in Triage Feb 19, 2020
@samhouts samhouts moved this from Backlog to In Progress in SwipeView Feb 20, 2020
@samhouts samhouts moved this from In Progress to Done in v4.5.0 Mar 9, 2020
SwipeView automation moved this from In Progress to Done Mar 9, 2020
@samhouts samhouts removed this from Done in v4.5.0 May 6, 2020
@samhouts samhouts removed this from Done in SwipeView May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a/frame a/swipeview e/2 🕑 2 in-progress This issue has an associated pull request that may resolve it! p/iOS 🍎 t/bug 🐛
Projects
None yet
Development

No branches or pull requests

2 participants