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

fixed position also getting scrolled #38

Open
mdali602 opened this issue Sep 23, 2020 · 3 comments
Open

fixed position also getting scrolled #38

mdali602 opened this issue Sep 23, 2020 · 3 comments
Assignees

Comments

@mdali602
Copy link

Expected Behavior

If I give some element fixed position (i.e. position: fixed) inside ideally it should stay on the screen and It should not get scrolled while scrolling.

Actual Behavior

If I give any element position fixed like below:

Hello

2

If I scroll to to second section fixed element should be shown.

Navigator and OS versions

@thierryc thierryc self-assigned this Sep 23, 2020
@thierryc
Copy link
Owner

May I can have a sketch or screenshot to visualize it?

@mdali602
Copy link
Author

Pleas take look at given repo: https://github.com/mdali602/react-fullpage
at home page there is a block, I want that block to be fixed on section 1 and section 2

@thierryc
Copy link
Owner

Thank you, I will. I keep you posted.

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

2 participants