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 think what causes the problem is that the plugin uses slideUp() and slideDown() on iOs. Those methods change the display property originally set by your show() and hide().
You can work around it by destroying the plugin with $.scrollupbar.destroy() at the same point you call hide() on your code and initializing it again at the same point you call show().
On iOS devices Scroll Up Bar overwrites an existing style attributes on the bar element. I believe in this section of code at line 138.
The problem it causes in our case is that we use jQuery's
show()
andhide()
method on the bar and scroll up bar is overwriting those attributes.Could it be changed to replace only the position and top attributes and retain any others already existing?
The text was updated successfully, but these errors were encountered: