Skip to content
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

How to handle edge case when scrollable content offset is less than header height #28

Open
Awethentique opened this issue Oct 3, 2019 · 0 comments

Comments

@Awethentique
Copy link

Hi, Thank you for an awesome plugin.

I have an interesting challenge where I am curios to know how to handle the following case.

I have a view where content exceeds the view with an expanded header by a small amount. When you scroll to the bottom of the screen, the header is in transition between the expanded header and the collapsed header. The content cannot scroll more unless you add more space below to compensate for the height of the header.

The other caveat here is that in the view I have a button that needs to stick to the bottom of the screen on larger devices but when displayed on smaller devices it should scroll as normal to the end, taking into consideration of the height of the header collapsing.

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

No branches or pull requests

1 participant