react-native-true-sheet icon indicating copy to clipboard operation
react-native-true-sheet copied to clipboard

Slow to open

Open eipark opened this issue 6 months ago • 7 comments

TrueSheet has been nice to implement, relatively simple to use.

One issue I've noticed is that it's quite slow to load. In my setup, I have a screen I navigate to where TrueSheet is the top level component with initialIndex={0}. So when I navigate to the screen with react navigation (i set presentation: 'transparentModal'), it opens the sheet.

Ive noticed there's a considerable lag until pressing my button that navigates until the sheet opens. It about 500ms I would guess.

I've made sure through elimination to check that the lag isn't coming from the inner components or the navigation. It renders quickly when I dont have TrueSheet in the same route.

eipark avatar Aug 23 '24 18:08 eipark