teslamotors / react-native-camera-kit

A high performance, easy to use, rock solid camera library for React Native apps.
MIT License
2.42k stars 577 forks source link

CameraKitGalleryView having more than 25 images on scroll causes selected images style to change #645

Closed jorgelameiro closed 4 months ago

jorgelameiro commented 4 months ago

Describe the bug I have founded an odd issue that is only happening if you have more than 25 images in the camera roll, if you selected some images and scroll over CameraKitGalleryView component, the "styles" of the images changes, the selection remains good, I mean, you select the first 3 images, scroll to the bottom and then randomly seems others pictures are being selected and actual selection style is being lost. This doesn't happen if you have less than 20 images.

To Reproduce Steps to reproduce the behavior:

  1. take more than 25 images.
  2. try selecting images from the stored images.
  3. Select for example first 3 images.
  4. Scroll in the camera clip, you will see styles changing like new pictures are being selected.
  5. If you check the actual selected images is ok, none has being change, is just the style what seems to be wrong.

Expected behavior Selected images should hold the selected style

Screenshots

Screenshot 2024-02-16 at 8 27 01 PM Screenshot 2024-02-16 at 8 27 10 PM Screenshot 2024-02-16 at 8 27 19 PM

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context This only happen having more than 25 images

DavidBertet commented 4 months ago

Hey Jorge, that view has been removed some time ago and isn't maintained anymore.

Look at this comment for further details https://github.com/teslamotors/react-native-camera-kit/issues/339#issuecomment-747799923

jorgelameiro commented 4 months ago

Hi DavidBertet, thanks for your reply, yeah, I'm using camera-kit v^9.0.0 due to the status of the project, (old RN version) I'm unable to use latest version of camera-kit, I was just trying to get some insights on what the problem is, again the selection is good, is just the style what is changing, thanks again.

DavidBertet commented 4 months ago

There is no bad questions ;) but no idea on that one!

You might be able to migrate to one of the dependencies cited above, one might be compatible with older RN versions.