octopitus / rn-sliding-up-panel

Draggable sliding up panel implemented in React Native https://octopitus.github.io/rn-sliding-up-panel/
MIT License
930 stars 157 forks source link

nativeDriver Support. lagging animations on Android #172

Open shubham-gupta-golorry opened 4 years ago

shubham-gupta-golorry commented 4 years ago

Issue Description

Can we have nativeDriver support. The sliding up and down animations using _panel.show and hide methods lag a lot. i have a FlatList inside the panel and i have disabled dragging


Environment

octopitus commented 4 years ago

If you are testing with dev mode enabled, try disabling it first?

muhamad-rizki commented 4 years ago

+1 I have tested in production release apps, but panel.show() and panel.hide() is very slow, setting friction to 0.5 seems increasing performance a bit