-
Notifications
You must be signed in to change notification settings - Fork 140
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
Bounce doesn't work #44
Comments
Hi @MarioIannotta. I probably found a solution to the situation with constraints in the project. Why not remove the top one and operate only with the bottom? Like setting the height of the controller in the beginning (so that elements that are bound to the bottom won't get under the main controller). In open state then the bottom constraint will be zero and for all the others you just set it to negative values depending on sticky points. |
Hi @heltisace the problem with this solution is that you won't be able to easily achieve the bouncing effect we discussed here #33 (the second point). |
I just downloaded pulley and as far as I understood it doesn't support dynamic sticky points and customizable bounce size, so maybe the situation is a little bit different. Sorry but at the moment I don't have a lot of time to investigate on those issues 😢 |
Okay, thanks. I will try to spare some time on this issue in the future. For now still using old version but setting the bottom constraint to negative values during animation. Bad practice, but for now it works. |
Bounce doesn't work when
bottomConstraint = parentView.bottomAnchor.constraint(equalTo: view.bottomAnchor)
. It does work with less than constraint though then there is an issue I described in the previous topic.The text was updated successfully, but these errors were encountered: