Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap 4 Dashboard Example + IE10/11 Display Issues #25587

Closed
DaleyKD opened this issue Feb 8, 2018 · 7 comments
Closed

Bootstrap 4 Dashboard Example + IE10/11 Display Issues #25587

DaleyKD opened this issue Feb 8, 2018 · 7 comments

Comments

@DaleyKD
Copy link

DaleyKD commented Feb 8, 2018

Similar to #25415 .

Windows 10 Enterprise Build 1709

When looking at https://getbootstrap.com/docs/4.0/examples/dashboard, there are a few issues with Internet Explorer.

Internet Explorer 11

  1. The navbar-brand does not appear in the upper-left.
  2. There is a horizontal scrollbar, and I do not see the entirety of the canvas.
    image

If I implement the fix suggested by @PerseusTheGreat, it does appear to help the first issue. Deleting the canvas element fixes my second issue. (For my purposes, I don't need the canvas.)

Internet Explorer 11 in Internet Explorer 10 Document Mode

  1. The horizontal scroll is enormous.
    image
  2. When you scroll all the way over, the Sign out button in the upper-right does not appear, but there is a clickable link.
    image
@PerseusTheGreat
Copy link

PerseusTheGreat commented Feb 9, 2018

Hi,
In advance, I apologize, I am beginner in English.

Based on my observations, the nav.navbar element has display: flex and the input.form-control.w-100 element has width: 100%.

In normal situation, width: 100% means the input element should fill remaining space between a.navbar-brand and ul.navbar-nav; but, the input sets its width based on html or body width(s).

I think this behavior is based on IE layout engine dysfunction (Can I Use: CSS Flexible Box Layout Module)

@amirsinaa
Copy link

amirsinaa commented Feb 9, 2018

Hey,
IE does not support flexbox , you need to override the bootstrap navbar styles and change the display property from 'flex' to something else like 'block' but when you do that you also need to change other navbar related elements properties like search input 'position ,display and width '
because when you change navbar display you will face this :

screen shot 2018-02-09 at 2 01 45 pm

@Herst
Copy link
Contributor

Herst commented Feb 9, 2018

IE does not support flexbox

IE10/11 (the ones officially supported by BS4) do support it, the implementation is just quite buggy, see https://caniuse.com/#search=flexbox

@DaleyKD
Copy link
Author

DaleyKD commented Feb 9, 2018

Based on my observations, the nav.navbar element has display: flex and the input.form-control.w-100 element has width: 100%.

In normal situation, width: 100% means the input element should fill remaining space between a.navbar-brand and ul.navbar-nav; but, the input sets its width based on html or body width(s).

@PerseusTheGreat, completely removing the input element changed nothing, sadly.

Something else I noticed in the markup, and I'm not a bootstrap expert (I just started two days ago), is that the class of the main element is col-md-9. I thought everything was supposed to add up to 12? 9 + 2 = 11, not 12. Setting it to col-md-10 doesn't seem to fix it, but isn't that a mistake?

@PerseusTheGreat
Copy link

PerseusTheGreat commented Feb 9, 2018

@DaleyKD
Totally 12; It means sum of all columns widths in every BS screen sizes should be less than or equal to 12; so 9 + 2 is valid layout on medium(col-md-*) screen size.

Please remove <div class="container-fluid"> and all inner contents then try to test nav element again. The problem still exist. I still think it is a browser BUG.

@GeertHuls
Copy link

It seems to work after overriding the sidebar's position (relative instead of fixed):

.sidebar {
position: relative;
}

@PerseusTheGreat
Copy link

@GeertHuls , Sidebar problem has been solved on #25415 (m... sort of...), now we are challenging to horizontal scrollbar on IE10 or IE11+Document Mode 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants