-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent vertical dragging when touching a specific child widget #305
Comments
+1 |
@jpcarreira can you explain how to implement it? i need embed a mapview in this controller, and need to zoom in/out which conflict with this controller... |
Please check the fork, the code I did change on that fork isn't a significant change. It's hard to recall exactly what I did, it's been a few months since I've implemented it. |
wouldn't be possible to have this fix backported to the main repo? |
I'm using something like this:
|
same issue |
I've been using
SlidingUpPanel
for a while and, so far, whenever I had the need to stop the vertical drag I would just set theisDragable
to false. However, now I have a use case where thepanelBuilder
builds a given widget that, amongst its children, has aListView
with horizontally-scrollable content and what I'm trying to achieve is preventing the sliding up panel moving up or down when I'm scrolling left or right through that list view.Is there any easy way of achieving this? I've tried the obvious toggle of
isDraggable
when a couple of callbacks that detect that horizontal scroll are triggered but that doesn't work as the entiresliding_up_panel
is rebuilt when settingisDragable
. Also tried aCustomGestureRecognizer
on that child widget to prevent vertical swipes of going up but had no success too. Any tips?The text was updated successfully, but these errors were encountered: