Comments (8)
Ah, I hadn't run into this before so it never crossed my mind. I'll see what I can do in the next few weeks. In the meantime, if you find a solution, feel free to send a PR.
from scrollnav.
Any luck on identifying the issue here?
from scrollnav.
Nope, but you're more than welcome to submit a PR.
from scrollnav.
I've tried multiple options to fix this and none is perfect. Were you able to find a solution that would work well across all uses?
from scrollnav.
No not really. I now hide the nav when the viewport reaches a certain point
near the footer. It's not perfect :-/
On Sunday, July 13, 2014, Jimmy Wilson [email protected] wrote:
I've tried multiple options to fix this and none is perfect. Were you able
to find a solution that would work well across all uses?—
Reply to this email directly or view it on GitHub
#42 (comment)
.
Conrad
tweet: http://twitter.com/conradr
from scrollnav.
That's all I've been able to do as well. I think once position: sticky
gets sorted out we might be able to make this easier, but for now it's something that'll need to be implemented on a case-by-case basis. If you do find something better, please reopen this with an update.
from scrollnav.
Just discovered this issue today. Anyone come across any ideas in the last 2 years ish before I dive in?
Thanks!
I'll report back if I find anything of use.
from scrollnav.
Ps: My immediate thought on this would be to detect when the nav reaches the bottom of the adjacent container and trigger a class change that changes from position fixed to position absolute, bottom: 0;
This way, the nav would stick to the bottom of that container until you scrolled back up.
from scrollnav.
Related Issues (20)
- Allow customization of CSS classes HOT 5
- Accessibility: how to give focus to the selected heading HOT 5
- Subsections in nested elements are not recognized HOT 2
- Disable scroll animation HOT 2
- Feature request: Set target position of the element which can be scrolled to HOT 1
- Feature request: consider supporting a 3rd level of sections HOT 3
- avoid innerHTML in order to pass strict CSP-Header HOT 2
- Bug on scroll and click HOT 1
- Cannot modify Offset HOT 1
- fix can not scroll to the right position
- Are wrappers really needed? HOT 4
- f.nextUntil(...).andSelf is not a function (jQuery v3 incompatibility) HOT 6
- Error when running `grunt default` (for development) HOT 1
- Testing Octobox HOT 1
- v3 Request for feedback HOT 7
- Overhaul Toolchain HOT 2
- Setup unit tests HOT 1
- Add getOrSetID function HOT 1
- Add browser compatibility info (especially IE) HOT 7
- It should have a dancing attribute. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrollnav.