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

Remove Modernizr #4273

Merged
merged 2 commits into from
Oct 3, 2024
Merged

Remove Modernizr #4273

merged 2 commits into from
Oct 3, 2024

Conversation

jon-kirwan
Copy link
Contributor

@jon-kirwan jon-kirwan commented Oct 1, 2024

What

Remove Modernizr

Why

Although Modernizr is included in the admin layout, which is utilised by various publishing applications, none of these applications seem to use the included browser features (flexbox, flexbox-tweener, history API), except for the printshiv which enables HTML5 elements to be styled when printed in Internet Explorer versions 6-8.

Anything else

Marked as a breaking change due to the potential effect on printing in older versions of IE. I recommend reviewing any printed pages that use the admin layout.

@jon-kirwan jon-kirwan linked an issue Oct 1, 2024 that may be closed by this pull request
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4273 October 1, 2024 08:32 Inactive
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4273 October 1, 2024 08:33 Inactive
@jon-kirwan jon-kirwan marked this pull request as ready for review October 3, 2024 10:34
Copy link
Contributor

@MartinJJones MartinJJones left a comment

Choose a reason for hiding this comment

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

Nice work, thanks for the link to the Modernizr build tool as well 👍

When it comes to the release, do you think this needs to be a breaking change because of the removal of the printshiv?

@jon-kirwan
Copy link
Contributor Author

jon-kirwan commented Oct 3, 2024

Nice work, thanks for the link to the Modernizr build tool as well 👍

When it comes to the release, do you think this needs to be a breaking change because of the removal of the printshiv?

Thanks again for the review 😎 Good point, I'll add it as a breaking change (and also updated the description above).

@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4273 October 3, 2024 11:19 Inactive
@jon-kirwan jon-kirwan merged commit 659e2c4 into main Oct 3, 2024
12 checks passed
@jon-kirwan jon-kirwan deleted the remove-modernizr branch October 3, 2024 11:23
@MartinJJones MartinJJones mentioned this pull request Oct 9, 2024
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.

Modernizr isn't needed
3 participants