xamarin/Xamarin.Forms

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

Aperta

#8782 aperta il 6 dic 2019

 (1 commento) (1 reazione) (1 assegnatario)C# (1926 fork)batch import
a/swipeviewe/1 :clock1:help wantedin-progressinactivet/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor