Git Product home page Git Product logo

Comments (17)

chasingSublimity avatar chasingSublimity commented on May 28, 2024

Heya. 👋 I'll take a look.

from therealmofthegeek.github.io.

kvizdos avatar kvizdos commented on May 28, 2024

Awesome. thanks @chasingSublimity!

from therealmofthegeek.github.io.

chasingSublimity avatar chasingSublimity commented on May 28, 2024

So it looks like the issue is actually in your javascript. If you click the about me button more than once, the page behaves as expected after the initial click. lemme do some more digging.

from therealmofthegeek.github.io.

kvizdos avatar kvizdos commented on May 28, 2024

Huh.. checking the site now, it seems to have fixed itself? I guess fixing #21 also fixed this... interesting.. I'm not sure why it'd fix it, but thats the only file we've changed..

from therealmofthegeek.github.io.

chasingSublimity avatar chasingSublimity commented on May 28, 2024

I'm still seeing it on my end, but only when I navigate to https://therotg.com/, not https://therotg.com/#about . 🤔

from therealmofthegeek.github.io.

kvizdos avatar kvizdos commented on May 28, 2024

Ah, I'm seeing that as well now too.. this is a strange issue.

from therealmofthegeek.github.io.

chasingSublimity avatar chasingSublimity commented on May 28, 2024

I think it has something to do with the affix class that gets applied to the nav bar. Where are you handling that in the code?

from therealmofthegeek.github.io.

kvizdos avatar kvizdos commented on May 28, 2024

I'm getting that from Bootstrap

from therealmofthegeek.github.io.

chasingSublimity avatar chasingSublimity commented on May 28, 2024

Ah. What version?

from therealmofthegeek.github.io.

kvizdos avatar kvizdos commented on May 28, 2024

Bootstrap v3.3.7

from therealmofthegeek.github.io.

kvizdos avatar kvizdos commented on May 28, 2024

just for an update, I'm going to head to bed. I'll respond to any questions in the morning when I wake up. Thanks for trying to figure this out, and sorry I need to tap out for the night

from therealmofthegeek.github.io.

sagarvd01 avatar sagarvd01 commented on May 28, 2024

Got the problem and it is the intended behaviour. leave a comment if you need more details.

from therealmofthegeek.github.io.

kvizdos avatar kvizdos commented on May 28, 2024

@sagarvd01 is there any way to make it go higher?

from therealmofthegeek.github.io.

finches avatar finches commented on May 28, 2024

For what it's worth, if you replace this line in nav.js:
window.location.hash = hash

With this one:
history.pushState(null, null, hash);

It should work like I think you want it to. Can open a PR if you want, but know someone else is working on this.

from therealmofthegeek.github.io.

kvizdos avatar kvizdos commented on May 28, 2024

Let's see if @chasingSublimity finds a fix first, if he doesn't find a fix by the end of the night, go ahead and make a push request ;)

from therealmofthegeek.github.io.

sagarvd01 avatar sagarvd01 commented on May 28, 2024

@kvizdos the # value in url will scroll upto the element with that id. Since you're navbar's position is fixed, it will stay independent to all other elements on that page. So, the page scrolls to make the heading come to top of page but the navbar is hiding that.

from therealmofthegeek.github.io.

kvizdos avatar kvizdos commented on May 28, 2024

Closed by pull request #31

from therealmofthegeek.github.io.

Related Issues (18)

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.