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

[Bug][iOS] Shapes disappear in a Frame in a ListView when scrolled #12521

Closed
haavamoa opened this issue Oct 19, 2020 · 1 comment · Fixed by #13284
Closed

[Bug][iOS] Shapes disappear in a Frame in a ListView when scrolled #12521

haavamoa opened this issue Oct 19, 2020 · 1 comment · Fixed by #13284
Assignees
Labels
a/frame a/shapes e/2 🕑 2 in-progress This issue has an associated pull request that may resolve it! p/iOS 🍎 t/bug 🐛

Comments

@haavamoa
Copy link

haavamoa commented Oct 19, 2020

Description

I am developing a page with a list of Shapes, I've also added Frame as the root element for each item to get rounded corners as a card. Everything is working for Android, but I notice something for iOS:

  • Each shape disappear when I scroll the list.

Steps to Reproduce

  1. Clone this repository
  2. Start this project on a device or a simulator (bug exists for both)
  3. Scroll the list up and down and notice that the shapes disappear.

Expected Behavior

The shapes to be visible at all times.

Actual Behavior

Shapes disappear.

Basic Information

  • Version with issue: 4.8.0.1560
  • Last known good version: Unknown
  • IDE: VS for windows 16.7.5
  • Platform Target Frameworks:
    • iOS: 14

Screenshots

Bug

shapesInListWithFrame_bug

Non-bug

shapesInListWithFrame_nonbug

Workaround

Remove the Frame and create a Grid with three rows that has two PancakeViews at the top and bottom to mimic a Frame.

<Grid RowDefinitions="Auto, *, Auto">
    <yummy:PancakeView Grid.Row="0" CornerRadius="8,8,0,0" HeightRequest="8" />
     <Path Grid.Row="1" ... />
    <yummy:PancakeView Grid.Row="2" CornerRadius="0,0,8,8" HeightRequest="8" />
</Grid>
@haavamoa haavamoa added s/unverified New report that has yet to be verified t/bug 🐛 labels Oct 19, 2020
@haavamoa
Copy link
Author

Shoutout to @sthewissen for PancakeView to come to the rescue 🤓

@jsuarezruiz jsuarezruiz self-assigned this Oct 22, 2020
@jsuarezruiz jsuarezruiz added e/2 🕑 2 and removed s/unverified New report that has yet to be verified labels Oct 22, 2020
@samhouts samhouts added the in-progress This issue has an associated pull request that may resolve it! label Nov 2, 2020
rmarinho pushed a commit that referenced this issue Jan 15, 2021
…o renderer creation (#13284) fixes #12245 fixes #13225 fixes #12911 fixes #13096 fixes #13164 fixes #11924 fixes #11656 fixes #12844 fixes #12521 fixes #13407

* UI Test

* Render Shape if it has an initial size already set

* - fix ui tests

* Unified issues with the same fix.

Co-authored-by: Javier Suárez Ruiz <javiersuarezruiz@hotmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/frame a/shapes e/2 🕑 2 in-progress This issue has an associated pull request that may resolve it! p/iOS 🍎 t/bug 🐛
Projects
None yet
3 participants