Skip to content

Conversation

@chasenlehara
Copy link
Member

This fixes the most critical issues in IE 11:

  • Flexbox layout is fixed so content shows up
  • The old sidebar was being kept alongside the new sidebar
  • Links weren’t working in the new sidebar
  • The API Docs page would take upwards of 30 seconds to load because of the GitHub star buttons, so those links are not upgraded to buttons in IE anymore

Current CanJS.com:
screen shot 2017-11-15 at 3 53 17 pm

After updates (images are broken because the screenshot’s from this repo):
screen shot 2017-11-15 at 3 53 38 pm

Closes canjs/canjs#3619

We don’t support IE 10 and below.
IE 11 doesn’t require any -ms- prefixed styles for flexbox to work.
IE 11 doesn’t include the hostname or protocol on links with relative URLs, so this forces the URL to be absolute when a link is clicked.
It takes the buttons script an incredibly long time to execute on IE 11 (upwards of 30 seconds), so I’m “progressively degrading” the experience for IE 11 and not upgrading the star links to buttons.

Additionally, the npm install command and buttons weren’t being shown because `display: unset` is not supported in IE, so that’s fixed.
@chasenlehara chasenlehara merged commit c49ef9c into master Nov 16, 2017
@chasenlehara chasenlehara deleted the fix-ie11 branch November 16, 2017 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

canjs.com doesn't work in IE11

2 participants