Skip to content
This repository was archived by the owner on Nov 27, 2018. It is now read-only.
This repository was archived by the owner on Nov 27, 2018. It is now read-only.

overflow-x: hidden IE problem #112

@k-one-o-two

Description

@k-one-o-two

I've changed CSS a bit, adding

.scroll-wrapper>.scroll-content.scroll-hide-x {
            overflow-x: hidden !important;
        }

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.
scroll
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions