-
Notifications
You must be signed in to change notification settings - Fork 66
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
Handle provided at the top of bottom sheet is not responsive #7
Comments
It will be helpful if you provide an answer for this asap. |
@OfTheWolf can you please look into this |
@vipinfalke it was the intended behaviour in my case and to change this i need to rewrite the whole logic. if it is urgent i recommend you to handle pan gesture just for the top view(i.e. searchbar in my demo) and don't handle the pan gesture for tableview. so tableview will be just for scroll and top view for the moving up and down. It is really easy to implement. i hope it works for you. And I will try to do your request when i have time. |
If you find the solution please let me know. :) |
Maybe you meant "@vipinfalke"? |
@vipinfalke yyou can do that by resetting the tableview contentoffset when detecting touch on this view or |
@vipinfalke I updated the repo and now the view is responsive all the time whatever the scroll content offset is . See example project. |
If tableview is scrolled (content offset is not equal to zero), user is not able to drag the bottom sheet down. User has to scroll the total tableview down (make content offset as zero) then only user can drag bottom sheet.
Is there any way we can drag bottom sheet up/down using the handle provided at top irrespective of the scrollview content offset.
let location = pan.location(in: panView)
location.y <= 50
The text was updated successfully, but these errors were encountered: