Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #21780
Closed
Open
Issue created Jan 19, 2017 by Administrator@rootContributor

Scrollbar bug on Windows 10 with IE 11, HiDPI Monitor

Created by: strebl

Hi guys

I encountered a bug on Windows 10 with Internet Explorer 11 and Bootstrap v4.0.0-alpha.6. The scrollbar is visible and hidden randomly if I resize the window. Let me start with two GIFs which demonstrate the issue on a page without any elements except the html structure and body: bootstrap_v4_scrollbar_bug_my_app As you can see, on some sizes the scrollbars are visible and on other sizes they are hidden.

The second GIF demonstrates the problem on https://v4-alpha.getbootstrap.com itself: bootstrap_v4_scrollbar_bug_getbootstrap_com_v4 Same problem. The only difference there is that the scrollable distance is shorter. That's because the vertical scrollbar is needed. If I remove elements until it fits vertically, the scrollable distance is the same comparing to GIF 1.

Workaround

If I change the viewport width to auto, everything behaves as expected.

@-ms-viewport {
  width: auto;
}

Tests

I tested this on two computers with HiDPI displays:

Type Windows Version Resolution Scaling Issue
Desktop Windows 10 Pro Insider Preview 1607 Build 15007 3840x2160 200% Yes
Tablet - Microsoft Surface Windows 10 Pro 1511 Build 10586 2736x1824 200% Yes

...and on two computers without HiDPI displays:

Type Windows Version Resolution Scaling Issue
Desktop Windows 10 Pro 1607 Build 14393 1920x1200 100% No
Notebook Windows 10 Pro 1607 Build 14393 1920x1080 100% No

As you can see, it happens only with HiDPI displays.

To clarify, I don't have that issue with Edge, only with IE!

I hope I provided enough details!

Assignee
Assign to
Time tracking