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

Fix ie 11 #5599

Merged
merged 2 commits into from
Feb 15, 2019
Merged

Fix ie 11 #5599

merged 2 commits into from
Feb 15, 2019

Conversation

tmeasday
Copy link
Member

@tmeasday tmeasday commented Feb 15, 2019

Issue: Latest version didn't work in IE11 as the URL class is not properly supported.

In this case we actually didn't need that prop for these stories. In general we should use something like https://github.com/jsdom/whatwg-url if we want a URL in a story.

#5590

What I did

Removed location from stories, and fixed the mobile layout to not pass it unnecessarily to the preview.

How to test

Test this branch on IE11 - https://fix-ie-11--storybooks-official.netlify.com

If your answer is yes to any of these, please make sure to include it in your PR.

Tom Coleman added 2 commits February 15, 2019 13:08
The `URL` class is not properly supported in IE11.

In this case we actually didn't need that prop for these stories. In general we should use something like https://github.com/jsdom/whatwg-url if we want a `URL` in a story.
@tmeasday tmeasday added the bug label Feb 15, 2019
@tmeasday tmeasday added this to the v5.0.0 milestone Feb 15, 2019
@tmeasday tmeasday mentioned this pull request Feb 15, 2019
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WFM

@shilman shilman merged commit 5798c95 into next Feb 15, 2019
@shilman shilman deleted the fix-ie-11 branch February 15, 2019 03:56
shilman added a commit that referenced this pull request Feb 15, 2019
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug patch:done Patch/release PRs already cherry-picked to main/release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants