Skip to content

Allow for pointerEvents to be fired close the header #37

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow for pointerEvents to be fired close the header #37

wants to merge 1 commit into from

Conversation

OskarHeden
Copy link

I've experienced that none of my pointerEvents are firing close to my fixed header after the Parallax foreground had been collapsed. When using the inspector I found that the entire parallaxHeight was still assigned to the wrapperView of the foreground, causing it to render an invisible view on top of my scrollable component (in this case a Webview) which then blocks all click events in my webview under that area.

Here is an image depicting the problem (the highlighted area is unclickable):
blocking_view

The PR includes minor changes to the height of the view to match the height of the collapsed header(headerHeight in props) when the parallax is collapsed after scrolling down.

@EyMaddis
Copy link

Already solved/solvable. See #23 and the PR #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants