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

贡献者指南