I am trying to replicate the Google Maps Swipe Panel ("Explore City of London") or something similar. The Panel should open and close by swiping and when open, the inner content should scroll, i.e. within a ScrollView, and then when the ScrollView is at the top, the scroll is disabled and the panel can close.
At the moment I am using rn-sliding-up-panel plugin for my Panel swipe, with a child component of ScrollView. I then find the position of the ScrollView, if it is at 0 and the user is swiping down, I close the Panel.
However, this seems rather buggy on both Android and iOS devices. Some times it sticks to position 0 in the ScrollView.
Has anyone managed to build something similar to this? Maybe Im on the right track and it needs refining? Or theres a better plugin out there?
Any advice or examples would be greatly appriciated.
