Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Different slide up panels mimic eachother behavior #224

Open
dagama14 opened this issue Mar 4, 2024 · 1 comment
Open

Different slide up panels mimic eachother behavior #224

dagama14 opened this issue Mar 4, 2024 · 1 comment

Comments

@dagama14
Copy link

dagama14 commented Mar 4, 2024

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

@dagama14
Copy link
Author

dagama14 commented Mar 5, 2024

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

@dagama14 dagama14 reopened this Mar 12, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant