Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Android] SwipeView Inconsistently Shows Margin in CollectionView #9645

Open
samhouts opened this issue Feb 20, 2020 · 0 comments
Open

[Android] SwipeView Inconsistently Shows Margin in CollectionView #9645

samhouts opened this issue Feb 20, 2020 · 0 comments
Assignees
Labels
a/collectionview a/swipeview in-progress This issue has an associated pull request that may resolve it! p/Android t/bug 🐛
Milestone

Comments

@samhouts
Copy link
Member

Description

On Android, if I wrap my layout with margin with a SwipeView inside of a CollectionView item template, the margin is displayed inconsistently. It is applied when you scroll past the recycle point sometimes or sometimes there is no margin at all.

UWP also displays the margin sometimes and not others.

iOS displays no margin at all.

Without a SwipeView, CollectionView doesn't show the margin at all. I think that is a bug on its own, but it's at least consistent on all platforms.

Steps to Reproduce

  1. Open sample project.
  2. Scroll top CollectionView.
  3. Behold the inconsistent margin.

Expected Behavior

Either no margin on any items or margin on all items on all platforms. If the latter, then CollectionView needs to do this without a SwipeView, too.

Actual Behavior

As described in description.

Basic Information

  • Version with issue: 4.5.0-pre4, 4.5.0
  • Last known good version:
  • IDE: 16.4
  • Platform Target Frameworks:
    • Android: API 28

Reproduction Link

SwipeViewIssues.zip

Workaround

Don't use a margin.

@pauldipietro pauldipietro added this to New in Triage Feb 20, 2020
@samhouts samhouts added this to To do (blockers) in SwipeView Feb 20, 2020
@PureWeen PureWeen removed the s/unverified New report that has yet to be verified label Feb 20, 2020
@PureWeen PureWeen moved this from New to Ready For Work in Triage Feb 20, 2020
@samhouts samhouts moved this from Ready For Work to Needs Estimate in Triage Feb 20, 2020
@samhouts samhouts added this to Backlog in CollectionView May 11, 2020
@samhouts samhouts added this to the 5.0.0 milestone Aug 4, 2020
@samhouts samhouts added this to To do in vNext+1 (5.0.0) Aug 11, 2020
@samhouts samhouts removed this from the 5.0.0 milestone Nov 2, 2020
@jsuarezruiz jsuarezruiz added the in-progress This issue has an associated pull request that may resolve it! label Nov 23, 2020
@jsuarezruiz jsuarezruiz moved this from To do (blockers) to In Progress in SwipeView Nov 23, 2020
@rmarinho rmarinho removed this from Needs Estimate in Triage Nov 24, 2020
@rmarinho rmarinho added this to the 5.0.1 milestone Nov 24, 2020
@rmarinho rmarinho added this to To do in v5.0.1 via automation Nov 24, 2020
@hartez hartez moved this from Review Backlog to In Progress in CollectionView Feb 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/collectionview a/swipeview in-progress This issue has an associated pull request that may resolve it! p/Android t/bug 🐛
Projects
CollectionView
  
In Progress
SwipeView
  
In Progress
v5.0.1
To do
Development

Successfully merging a pull request may close this issue.

4 participants