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 has been archived by the owner on Nov 27, 2018. It is now read-only.
without this mod horizontal scroll-bar blinks when my div appears (using angular's ng-show).
Now there is a problem: scroll never gets to the bottom, i.e. top + height never equals max-height. Please, see the image attached.
As seen - IE adds margin-bottom to the style.
I've fixed the problem adding
if (browser.msedge || browser.msie) {
var marginBottom = parseInt(c.css('margin-bottom'));
scrollTop = scrollTop - marginBottom;
}
to c.on('scroll' + namespace, function (event) { function.
This is an issue but not a PR since I'm not sure my fix is correct.
Can it be fixed some better way?
The text was updated successfully, but these errors were encountered:
Tried this: it works, but only if I add this style (overflow-x: hidden) to all elements on which I use the scrollbar and it's not a good idea.
So, I think that my solution is better - I'll modify it a bit and make a PR then.
I've changed CSS a bit, adding
without this mod horizontal scroll-bar blinks when my div appears (using angular's
ng-show
).Now there is a problem: scroll never gets to the bottom, i.e. top + height never equals max-height. Please, see the image attached.
As seen - IE adds margin-bottom to the style.
I've fixed the problem adding
to
c.on('scroll' + namespace, function (event) {
function.This is an issue but not a PR since I'm not sure my fix is correct.
Can it be fixed some better way?
The text was updated successfully, but these errors were encountered: