xamarin/Xamarin.Forms

[Bug][iOS][Android] SwipeViewItems cut off on one or more sides

Offen

#8.782 geöffnet am 06.12.2019

 (1 Kommentar) (1 Reaktion) (1 zugewiesene Person)C# (1.926 Forks)batch import
a/swipeviewe/1 :clock1:help wantedin-progressinactivet/bug :bug:up-for-grabs

Repository-Metriken

Stars
 (5.644 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Description

I've defined multiple SwipeItemView objects in a SwipeView. However, the problems are:

  • On iOS, the first SwipeItemView is cut off on the left hand side.
  • On both iOS and Android, the right most SwipeItemView is cut off on the right hand side.

Steps to Reproduce

  1. Run the attached sample on iOS.
  2. Browse to the SwipeView custom SwipeItem page.
  3. Swipe from the right on "What's 1+1?".

Expected Behavior

The two SwipeItemView objects are fully shown, without being cut off on either side.

Actual Behavior

On iOS, the first SwipeItemView is cut off on the left hand side. On both iOS and Android, the right most SwipeItemView is cut off on the right hand side.

Basic Information

  • Version with issue: 4.4-pre3
  • IDE: VSMac 8.3.10
  • Platform Target Frameworks:
    • iOS: 13.2
    • Android: API 28

Screenshots

Simulator Screen Shot - iPhone X - 2019-12-06 at 14 45 14

Screenshot_1575643554

Reproduction Link

SwipeViewDemos.zip

Contributor Guide