stipsan/react-spring-bottom-sheet

Low FPS on weak devices with many nodes

Dimasion opened this issue ยท 12 comments

Any thoughts??

Tested on iPhone 6/6s, Redmi 9

Screenrecorder-2021-11-24-11-38-44-921.mp4

I got the same performance issue.
My BottomSheet has just a few child component (about 2-50 item) but it is extremely lag when open BottomSheet when using safari.
Chrome is better but still lag, enough to notice

same issue with safarii it lags a lot

thanks so much, i will use other lib

@fukemy another modal ? Which lib ?

@dmitryshelomanov use https://github.com/gorhom/react-native-bottom-sheet for full handle with bottomsheet, full compatetive with IOS and low device android

@fukemy RN is not web. RN bottom sheet support it?

sorry bro, this is my bad, I just started to become RN dev, this time i didnt know what difference between react and react native

I've encountered the same issue on Android Chrome. After having a look at the performance in chrome (simulating a slow device w 4x slowdown), it looks like the resize observer (https://github.com/juggle/resize-observer) is to blame:
image

same issue. any update?

Still no update on this??

Is there a fork of this library fixing this issue or an alternative library that can be used?
@alex-reid I can also confirm the issue you discovered. Have you found a solution?