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

Height set by Scrollify #41

Closed
Rayken opened this issue Sep 14, 2015 · 10 comments
Closed

Height set by Scrollify #41

Rayken opened this issue Sep 14, 2015 · 10 comments

Comments

@Rayken
Copy link

Rayken commented Sep 14, 2015

Hi,

Basically I've got sections at 100vh, technically that should mean the plugin shouldn't set heights? It does - any way around it? Also I have one section that's 200vh, same applies here. I would like it to remain 200vh.

Thank you!

@lukehaas
Copy link
Owner

Hi,
your best option will be to have inner containers within your sections that have the set heights that you want.

@joerstom
Copy link

I'd like to utilize scrollify similarly, and have sections with less than 100vh height. Currently it scrolls 100% the screen regardless of the height of the section. I modified it to scroll less, and I see the possibility of adding in some dynamic functionality here. Have you considered it?

@lukehaas
Copy link
Owner

@joerstom thanks for your input, I'll take it into consideration when I next update.

@stefanoortisi
Copy link

having some problems when sections have height: 100vh too

@vandijkstef
Copy link

Commenting out the sizePanels() function did a great job for me.
I want my navbar and footer to behave like a regular page, while the main content uses 100vh sections. To still get to all the elements I had to make every part of the page a scrollify section.

So far, the results are as expected. I can scroll the nav and footer (with snapping) and have nice 100vh main content sections.

@lukehaas
Copy link
Owner

I've just pushed an update that includes an option called setHeights, if you set this to false, Scrollify won't assign a height to the sections.

@joerstom
Copy link

Amazing! Thank you

@ghost
Copy link

ghost commented Feb 22, 2018

Is there a possibility to have that height option set as a min-height?

@rebevka
Copy link

rebevka commented Mar 12, 2019

With setHeights: false, no scrolling happens. The hash changed but the page doesn't move.

1 similar comment
@pgoswami1998
Copy link

With setHeights: false, no scrolling happens. The hash changed but the page doesn't move.

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

7 participants