You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just discovered that NProgress doesn't work on Webkit when combined with jQuery 1.7.1
The bug resides in the fact that NProgress tries to set the CSS transition and transform properties without vendor prefixes.
For example: $('.bar').css( { transition: X, transform: Y });
It seems newer versions of jQuery translate the basic property names into vendor-specific versions automatically. jQuery 1.7.1 does not do this property name interpolation and it causes the progress bar to show as 100% all the time.
The temporary workaround is to configure NProgress to positionUsing : 'margin-left'
This appears kind of jerky but it works.
I just discovered that NProgress doesn't work on Webkit when combined with jQuery 1.7.1
The bug resides in the fact that NProgress tries to set the CSS transition and transform properties without vendor prefixes.
For example: $('.bar').css( { transition: X, transform: Y });
It seems newer versions of jQuery translate the basic property names into vendor-specific versions automatically. jQuery 1.7.1 does not do this property name interpolation and it causes the progress bar to show as 100% all the time.
The temporary workaround is to configure NProgress to positionUsing : 'margin-left'
This appears kind of jerky but it works.
The better solution is for NProgress to pass vendor-specific CSS properties using a technique like this:
http://stackoverflow.com/questions/10237731/css3-transitions-inside-jquery-css
The text was updated successfully, but these errors were encountered: