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
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
The Link function uses the wrong width for the horizontal collapse element, when it is suppose to expand back to original size, (at least in my version of AngularJS).
I modified this function:
function getScrollFromElement(gs_elm) { var output; if (horizontal) { output = { width: horizontal_width + 'px' }; } else { output = { height: gs_elm.scrollHeight + 'px' }; } return output; }
...by adding a horizontal_width = element.width() variable to the link function, which is set to the correct initial width of the element. This seems to work, but as always, there maybe other considerations I'm not privy to.