Open kkotkkio opened 6 years ago
@kkotkkio Appreciate the extensive issue with the screenshots! Do you have any console logs?
Some possibilities are:
Pull v0.4.5 to see if this fixes issues tied to the second bullet.
@brh55 Thank you for answer.
I checked the volume of image files that I download. But all of images 300kb less (50kb, 30kb, 90kb ..) And I tried to change images on the left to correct image (same image on the right image). But it's not solved. It's display same before.
And I saw log but no error, no warning.
So, I tried 'npm uninstall' and 'npm reinstall' like below. (I got it 'v0.4.5') It's displayed [server error] but it's working.
And I tried 'npm ls', like below.
What is "peer dep missing"? I miss something?
Other issues are solved but the left images still be not showing in Android.
And I've another test.
All Images are same below.
But the left images still be not showing... Just left images..
All Images are 100kb, width: 500px. This component version. ^0.4.5
@kkotkkio, @brh55 here what I have done, just downloaded the source code and use it instead of package. and in Masonry.js
// containMatchingUris :: ([brick], [brick]) -> Bool
const containMatchingUris = (r1, r2) => false; //isEqual(r1.map(brick => brick.uri), r2.map(brick => brick.uri));
I found out that during initialization it renders in a normal way, but caching makes it not work on Android, so I just tested to disable cache and it works.
@alpamys-qanybet
Can you try the fix-reload
branch and see if the fix is related to caching or with clipped view.
If the fix-reload
branch is not working, then I can safely assume it's due to the component not reloading within a navigator.
On Android, it only shows pics of one side, sometimes left, sometimes right. How do we fix it?
react-native-masonry using resizeMethod: 'auto' in Brick.js, you can try to change this property to resizeMethod: 'resize'
I managed to solve it with @alpamys-qanybet solution. But images are not being cached now.
Any plans for a clean fix for android?
I'm in the same situation as @zamponotiropita...
Please, any clean fix?
This is still an issue. Did anyone find a proper solution?
Same problem for me
Only if I use "columns={1}" it works as expected
I ran iPhone on simulator, It is well like this.
But when i ran android device, It is not working like this.
My Spec.
Entire code.
Please help..