Code Monkey home page Code Monkey logo

Comments (10)

andrade1379 avatar andrade1379 commented on May 23, 2024 2

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

from scrollify.

lukehaas avatar lukehaas commented on May 23, 2024

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

from scrollify.

joerstom avatar joerstom commented on May 23, 2024

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?

from scrollify.

lukehaas avatar lukehaas commented on May 23, 2024

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

from scrollify.

stefanoortisi avatar stefanoortisi commented on May 23, 2024

having some problems when sections have height: 100vh too

from scrollify.

vandijkstef avatar vandijkstef commented on May 23, 2024

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.

from scrollify.

lukehaas avatar lukehaas commented on May 23, 2024

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.

from scrollify.

joerstom avatar joerstom commented on May 23, 2024

Amazing! Thank you

from scrollify.

rebevka avatar rebevka commented on May 23, 2024

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

from scrollify.

pgoswami1998 avatar pgoswami1998 commented on May 23, 2024

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

from scrollify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.