octopitus / rn-sliding-up-panel

Draggable sliding up panel implemented in React Native https://octopitus.github.io/rn-sliding-up-panel/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Different slide up panels mimic eachother behavior

dagama14 opened this issue · comments

Hi,
So, I'm having an issue with the slide up panel, im using a sliding up panel in 2 different screens, and when i slide one up, or use ".show()" to activate it, the other one, on a diferent screen mimics the behavior. Does anyone know how to works this out? Initialy i thought that it might have something to do with the refs since i was doing "this._panel.show()" but i've tried to give them different refs and it behaves all the same.

SlidingUp Version: 2.4.6
React Native version: 18.2
Platform(s): iOS and Android

I actually fix that issue, but created another xD
Using the animatedValue prop, i was able to stop them from mimic each other, but now, when that particular panel, that has the animated value property, is up i can't hide it by simply touching the screen behind it