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

WPCOM Block Editor: show dismiss button in IE 11 #44196

Merged
merged 2 commits into from
Jul 16, 2020

Conversation

ramonjd
Copy link
Member

@ramonjd ramonjd commented Jul 16, 2020

Changes proposed in this Pull Request

In IE 11, the WP logo we use to dismiss the sidebar seemed to... disappear...

To fix this, the click guards needs a z-index higher or equal to the .interface-interface-skeleton__header otherwise the edit post header will appear on top.

Before

Screen Shot 2020-07-16 at 2 01 39 pm

After

Screen Shot 2020-07-16 at 2 05 17 pm

Testing instructions

Enable the sidebar by defining WPCOM_BLOCK_EDITOR_SIDEBAR as true in your sandbox.

Apply D46468-code to sandbox

Find your favourite IE11 testing method (Browserstack?)

The WP logo button should be there.

Ensure it still works in other browsers :)

Fixes #44067

@ramonjd ramonjd added [Type] Bug [Feature] Post/Page Editor The editor for editing posts and pages. labels Jul 16, 2020
@ramonjd ramonjd self-assigned this Jul 16, 2020
@matticbot
Copy link
Contributor

@ramonjd ramonjd added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jul 16, 2020
@matticbot
Copy link
Contributor

Caution: This PR affects files in the FSE Plugin on WordPress.com
Please ensure your changes work on WordPress.com before merging.

D46468-code has been created so you can easily test it on your sandbox. See this FieldGuide page about developing in the FSE Plugin for more info: PCYsg-ly5-p2

@ramonjd ramonjd requested review from p-jackson and a team July 16, 2020 04:32
Copy link
Member

@andrewserong andrewserong left a comment

Choose a reason for hiding this comment

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

Works nicely, tested in IE11 against local dev environment running the FSE build, and confirm it's still looking good in Safari, Firefox, and Chrome. 👍 🚢

@p-jackson
Copy link
Member

Fantastic! Thank you

…nterface-interface-skeleton__header otherwise the edit post header will appear on top.
@p-jackson p-jackson force-pushed the fix/wpcom-block-editor-sidebar-button-ie11 branch from abc274b to 963ea63 Compare July 16, 2020 06:33
@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

@p-jackson p-jackson merged commit 3caab24 into master Jul 16, 2020
@p-jackson p-jackson deleted the fix/wpcom-block-editor-sidebar-button-ie11 branch July 16, 2020 09:36
@matticbot matticbot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Jul 16, 2020
sarayourfriend added a commit that referenced this pull request Jul 16, 2020
@deBhal deBhal mentioned this pull request Jul 20, 2020
31 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Post/Page Editor The editor for editing posts and pages. [Type] Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nav sidebar: butto to dismiss sidebar disappears on IE
4 participants