Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageBackground does not fill width on Android only #22975

Closed
3 tasks done
YoruNoHikage opened this issue Jan 13, 2019 · 4 comments
Closed
3 tasks done

ImageBackground does not fill width on Android only #22975

YoruNoHikage opened this issue Jan 13, 2019 · 4 comments
Labels
Bug Component: Image Component: ImageBackground Platform: Android Android applications. Priority: Mid Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@YoruNoHikage
Copy link

YoruNoHikage commented Jan 13, 2019

Environment

I don't think it would help a lot but here it is:

  React Native Environment Info:
    System:
      OS: Windows 10
      CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
      Memory: 1.39 GB / 7.88 GB
    Binaries:
      npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
    IDEs:
      Android Studio: Version  3.2.0.0 AI-181.5540.7.32.5056338

Description

ImageBackground does not fill the full width on Android when the app is either reloaded or paused and resumed. When I fully close the app and reopen it, the problem disappears.

image
Initial state

image
After pause/resume or hot reload, the first element should fill its width.

No problem on iOS.

Reproducible Demo

https://snack.expo.io/H1o4ogtM4

@patrickkempff
Copy link
Contributor

patrickkempff commented Feb 17, 2019

It seems somehow that the asset is not repeated despite resizeMode="repeat"

@SiSa68
Copy link

SiSa68 commented Apr 24, 2019

I have same issue with [email protected] on android
I also have this problem when keyboard appears or when I resize my app size

@stale
Copy link

stale bot commented Aug 2, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Aug 2, 2019
@stale
Copy link

stale bot commented Aug 9, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Aug 9, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Component: Image Component: ImageBackground Platform: Android Android applications. Priority: Mid Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

6 participants