You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My application does not show base64 images inside a Scrollview
(Write your steps here:)
create a new react-native project
On index.js include App.js and put App being executed
Add a product json file to the project with one product and a property called products where two base64 images will be stored
On App.js create a function to drilll down the object and create an image array of the base64 images
Add a scrollview to render function
Inside the scroll view add a call to the image array
Expected Behavior
The expected behavior was for the images to be displayed in the scroll view as an image carousel allowing the user to scroll through all the images
Actual Behavior
The application does not display the images in the scrollview. As an apart the scrollview doesn't display images stored locally but that have the style property in the image tag.
Can you include the information requested under Environment? Any chance you can repro this on a snack? You'll have more luck getting someone to check your code that way. Thanks!
the information about environment was there but in the wrong place. I hope know you can see it, in any case I leave the info below.
On regards you question about " any chance you can repro this on a snack", sorry, but I got lost :D what is the rerpo and what is a snack?
I already put my code on stackoverflow, but so far no feedback. In any case if you check the zip, I putted three things:
1 - an array of buttons that is ok and is displayed on the scrollview
2 - an array of images reading from a specific location and that also works
3 - an array of base64 images and that does not work
On regards the base64 image, I am using the same image in other places of the code, but as a simple image outside a scrollview and it also works.
On Sun, Jan 7, 2018 at 6:00 PM, stale[bot] ***@***.***> wrote:
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Maybe the
issue has been fixed in a recent release, or perhaps it is not affecting a
lot of people. If you think this issue should definitely remain open,
please let us know why. Thank you for your contributions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16695 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF1P0UZ0NPb13u8UNCMVsBtQEhXiLMqxks5tIQYjgaJpZM4QTCBq>
.
I took the time to attempt to reproduce this on a Snack, and did not succeed. You can see at https://snack.expo.io/rk89ME6mQ that the images are rendered when displayed inside a scroll view. The issue seems to be elsewhere in your code.
Activity
hramos commentedon Nov 8, 2017
Can you include the information requested under Environment? Any chance you can repro this on a snack? You'll have more luck getting someone to check your code that way. Thanks!
rjamaro commentedon Nov 8, 2017
Hi hramos,
the information about environment was there but in the wrong place. I hope know you can see it, in any case I leave the info below.
On regards you question about " any chance you can repro this on a snack", sorry, but I got lost :D what is the rerpo and what is a snack?
I already put my code on stackoverflow, but so far no feedback. In any case if you check the zip, I putted three things:
1 - an array of buttons that is ok and is displayed on the scrollview
2 - an array of images reading from a specific location and that also works
3 - an array of base64 images and that does not work
On regards the base64 image, I am using the same image in other places of the code, but as a simple image outside a scrollview and it also works.
Thanks,
Ricardo
stale commentedon Jan 7, 2018
rjamaro commentedon Jan 10, 2018
stale commentedon May 16, 2018
react-native-bot commentedon May 16, 2018
It looks like your issue may refer to an older version of React Native. Can you reproduce the issue on the latest release, v0.55?
hramos commentedon Jul 18, 2018
I took the time to attempt to reproduce this on a Snack, and did not succeed. You can see at https://snack.expo.io/rk89ME6mQ that the images are rendered when displayed inside a scroll view. The issue seems to be elsewhere in your code.
Minimal repro: