-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Sticky Top Bar not working after 6.5.3 #11924
Comments
Seems to work here: https://codepen.io/DanielRuf/pen/KKwdmOx?editors=1010 |
Works here too: |
These are different: https://cdn.jsdelivr.net/npm/foundation-sites@6.6.0/dist/js/foundation.min.js The Cloudflare version works. |
Ugh, this is 6.5.3: https://cdnjs.cloudflare.com/ajax/libs/foundation/6.6.0/js/foundation.min.js |
Found the culprit using
|
Got this error:
|
Updated to 6.6.1 but the problem is still here... UPDATE:
|
Probably some cache. |
using 6.6.1 but issue is still there. |
@guyvanbael please provide the URL of the file that you have sued. On cdnjs the version 6.6.1 contains the code of 6.5.3. |
@DanielRuf my project was created using the cli. |
What should happen?
Top bar should be sticky when page scrolled.
What happens instead?
Nothing.
Test Case and/or Steps to Reproduce (for bugs)
I was following to tutorials on the documentation and I couldn't manage to work sticky top bar. Then I downgraded 6.4.3 and it started to work.
Here is the test case, I only changed the version numbers.
Foundation 6.4.3 (Working)
https://codepen.io/ecabuk/pen/JjoYNMq
Foundation 6.6.0 (Not working)
https://codepen.io/ecabuk/pen/LYEpyew
The text was updated successfully, but these errors were encountered: