xamarin/Xamarin.Forms

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

開放

#8,782 建立於 2019年12月6日

 (1 則留言) (1 個反應) (1 位負責人)C# (1,926 個分叉)batch import
a/swipeviewe/1 :clock1:help wantedin-progressinactivet/bug :bug:up-for-grabs

倉庫指標

星標
 (5,644 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南