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

[Android] Aspect filling an image draws on frame border #7034

Open
adrianknight89 opened this issue Jul 31, 2019 · 2 comments
Open

[Android] Aspect filling an image draws on frame border #7034

adrianknight89 opened this issue Jul 31, 2019 · 2 comments
Labels
e/2 🕑 2 help wanted We welcome community contributions to any issue, but these might be a good place to start! i/low Has trivial workaround; affects very few users p/Android t/bug 🐛 up-for-grabs We welcome community contributions to any issue, but these might be a good place to start!

Comments

@adrianknight89
Copy link
Contributor

Description

iOS and Android treat frame borders differently when an image is stretched inside the frame.

Steps to Reproduce

  1. Run the repro
  2. Observe that you cannot see the left and right borders on Android, but they are visible on iOS. The frame as shown below has 10 vertical padding.

Screenshots

Screenshot_20190731-143936

Reproduction Link

App1555.zip

@adrianknight89 adrianknight89 added s/unverified New report that has yet to be verified t/bug 🐛 labels Jul 31, 2019
@pauldipietro pauldipietro added this to New in Triage Jul 31, 2019
@jfversluis jfversluis added i/low Has trivial workaround; affects very few users and removed s/unverified New report that has yet to be verified labels Aug 6, 2019
@jfversluis
Copy link
Member

A quick workaround for this would be to add a bit of padding on the sides as well to show the border.

But I confirmed that this behavior is shown on Android.

If I would have to guess, it's probably that the Android border is drawn on the inside of the frame while on iOS it is on the outside.

@jfversluis jfversluis moved this from New to Ready For Work in Triage Aug 6, 2019
@samhouts samhouts removed this from Ready For Work in Triage Aug 7, 2019
@samhouts samhouts added inactive Issue is older than 6 months and needs to be retested help wanted We welcome community contributions to any issue, but these might be a good place to start! up-for-grabs We welcome community contributions to any issue, but these might be a good place to start! and removed inactive Issue is older than 6 months and needs to be retested help wanted We welcome community contributions to any issue, but these might be a good place to start! labels Jul 17, 2020
@samhouts samhouts added this to the 5.0.0 milestone Aug 13, 2020
@samhouts samhouts added this to To do in vNext+1 (5.0.0) Aug 14, 2020
@samhouts samhouts added inactive Issue is older than 6 months and needs to be retested help wanted We welcome community contributions to any issue, but these might be a good place to start! and removed inactive Issue is older than 6 months and needs to be retested labels Sep 18, 2020
@samhouts samhouts removed this from the 5.0.0 milestone Nov 2, 2020
@GarethFZA
Copy link

Is there any update on this issue? Funny enough, if I debug the app and change the bordercolour with Hot Reload, then change back to the original colour, it renders the Frame border correctly. But it doesn't render correctly first time

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
e/2 🕑 2 help wanted We welcome community contributions to any issue, but these might be a good place to start! i/low Has trivial workaround; affects very few users p/Android t/bug 🐛 up-for-grabs We welcome community contributions to any issue, but these might be a good place to start!
Projects
Development

No branches or pull requests

4 participants