Xamarin.forms: [Bug] SwipeView Open methods does not work for RightItems

Created on 4 May 2020  路  7Comments  路  Source: xamarin/Xamarin.Forms

Open method for SwipeView doesn't work for RightItems, it works for left items but not for right. Tested on Android and iOS.

Steps to Reproduce

  1. Add SwipeView to ViewPage
  2. Add RightItems to that SwipeView
  3. Invoke Open(OpenSwipeItem.RightItems) method on that SwipeView

Expected Behavior

Open method should open view and reveal right items.

Actual Behavior

Open method does nothing

Basic Information

  • Xamarin Forms: 4.6.0.726
  • IDE: Visual Studio for Mac, ver 8.5.4 (build 12)
  • Xcode ver 11.4.1

Reproduction Link

https://github.com/mariaszek9003/SwipeViewTest
or you can either test it on your own SwipeView demo repository, just use right items instead of left on SwipeViewProgrammaticPage: https://github.com/xamarin/xamarin-forms-samples/tree/master/UserInterface/SwipeViewDemos

swipeview blocker 2 in-progress bug

Most helpful comment

Have the same issue here - as a work around I rotated my swipeview by 180. And then rotated the contents of it by another 180. Seems to work OK for now but not ideal.

All 7 comments

Thanks for the reproduction sample @mariaszek9003.

I tested the same but with TopItems and that did not work either. :(

Have the same issue here - as a work around I rotated my swipeview by 180. And then rotated the contents of it by another 180. Seems to work OK for now but not ideal.

SwipeView.Open() is not working at all.

@WilliamWatterson86 and @Rothanan Could you try using the NuGet from https://github.com/xamarin/Xamarin.Forms/pull/10575?

Im Sorry, I tought this was an UWP Topic, I'm having trouble with this in UWP.

The solution you mentioned doesnt fix It for UWP.

[UWP] SwipeView.Open() is still not working with latest available version Xamarin.Forms.5.0.0.1558-pre3

Was this page helpful?
0 / 5 - 0 ratings