octopitus / rn-sliding-up-panel

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

Prop to change TIME_CONSTANT #136

Open Demuzx opened 5 years ago

Demuzx commented 5 years ago

Hi. You already have props for change any constants like friction and other. Please, add prop to change TIME_CONSTANT = 325(it is very much!), like "timeConstant={100}". This will solve the problem of quickly removing and displaying the panel.

Like here: https://github.com/Demuzx/rn-sliding-up-panel

octopitus commented 5 years ago

Have you try changing friction value? Decrease the friction will make animation looks faster. That time constant is not designed for changing.