Giter VIP home page Giter VIP logo

Comments (6)

cferdinandi avatar cferdinandi commented on July 17, 2024

Ah, I had forgotten to add an offset option to the instantiation. Fixed. Thank you!

from gumshoe.

amdad avatar amdad commented on July 17, 2024

Thank you, but sorry, it's still doesn't work. I tried to update on codepen to @5.1, but it doesn't help. Also downloaded Github repo and opened it on local to be sure latest package and demo code for fixed headers I got. and it also didn't help.

from gumshoe.

cferdinandi avatar cferdinandi commented on July 17, 2024

The linked demo above is working exactly as I'd expect it to in Chrome, Firefox, and Safari. See the screen capture below.

offset

What browser/OS are you using?

from gumshoe.

amdad avatar amdad commented on July 17, 2024

Oh, you're right, I forgot that there is no SS here! Everything is A OK! Thanks ;) Anyway that would be cool to see combined demo of those two. Since this reflow option of gumshoe should be mirrored by SS.

from gumshoe.

jtholloran avatar jtholloran commented on July 17, 2024

@cferdinandi When simply scrolling, the offset works. But in that demo (https://codepen.io/cferdinandi/pen/eXpLqo), when you actually click one of the nav items, the content block doesn't take the offset into account and the top of the content block is hidden beneath the header. Possible to fix that?

from gumshoe.

cferdinandi avatar cferdinandi commented on July 17, 2024

@jtholloran Hi there... that would require using a smooth scrolling library (like this one) that accounts for the offset instead of the native CSS approach I used.

from gumshoe.

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.