-
Notifications
You must be signed in to change notification settings - Fork 251
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
Bug in the interaction regarding the small part that is not hidden #40
Comments
Thanks for your report. But I do not understand, the parallaxHeader's contentView never gets off the screen, only the height changed. Could you give a bit more context, where do you swap |
Sorry, it is difficult to explain. In the video you can see that it is possible to interact with the button (changes from blue to white) that is in the header, but once you scroll a lot, that is not possible. Not only that, but the tap is sent to the table and the cell is pressed, which is even worse. And if you don't use a component, it is also a problem, because taps will go to the table. Using reveal I see that the parent view is outside the screen, perhaps that is the problem. In the second part of the problem I exchange the frame Y and as you can see, it works again the button. Not sure about what is the best solution. |
I forgot to say that I think that the problem is that the parent view of the header is outside the screen. Perhaps there is some kind of internal OS optimization and touches are not passed to children views. |
@maxep Could you reproduce it? Thanks! |
Hi @Ricardo1980 |
Hi, |
There are several bugs regarding gestures or interaction like:
#17
#20
The reason is because when we scroll a lot, the parallax contentView is outside screen and does not send taps to its subviews, even if they are displaced to be presented in the screen again.
You can see that using Reveal:
If we swap parallax.contentView.frame.origin.y and parallax.view.frame.origin.y then it works, but of course that only works in Reveal. Doing that we will see how the components that are in the small part (defined by parallaxHeader.minimumHeight) would work again.
I tried to modify the lib to do something like that, but no luck at the moment.
Does anyone have any idea? This would make the tiny part interactive, which is important.
The text was updated successfully, but these errors were encountered: