-
Notifications
You must be signed in to change notification settings - Fork 266
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
Race condition around topbar height #257
Comments
Update:
As far as I can tell, this simply inlines the height value from |
Thanks for reporting @thetable. Interested in getting this fixed. Happy to accept a PR to fix if you'd like to send one in. Otherwise, I'll try to fix this weekend. |
I will if I manage to understand what's actually causing this (or how to fix it). I assume I can't simply remove the I can't even reproduce this in a plunkr rightnow, only in my self-hosted version. But let me know if it happens for you too. Still trying to figure out how mine is different from your topbar demo plunk. |
Hello Gentlemen, do you have an update to this? We now have the same issue, interestingly there was no such phenomenon before we moved the html into an angular component. |
I have a very vanilla topbar, taken straight from the docs:
Upon loading the page, the topbar sometimes renders correctly, other times, it has a height of 232px.
I've been able to reproduce this in Safari 8.0.6 and Chrome 45 most recently (but more often in Safari) and Angular 1.3.3 and 1.4.4.
To see an example of the behavior, go to http://backin.de/foundationtopbar/ and reload the page a couple of times.
Another observation: If I serve the above set of files locally and only load
mm-foundation-tpls.js
from a CDN (so it presumably arrives after all the other files), the bug never appears.I would be interested to hear if others can reproduce the bug and have theories on what might cause it.
The text was updated successfully, but these errors were encountered: