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 hidden post schedule popover on mobile #18658

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

youknowriad
Copy link
Contributor

closes #18649

We had a special z-index hack introduced in #7621 (comment)

It looks like this regressed with #18044 but the good news is that removing the hack is the fix for the same issue it was introduced for :). It nice when hacky fixes remove them selves.

Testing instructions

  • Try opening the Post Schedule popover on mobile, it should show up properly.

@youknowriad youknowriad added [Type] Bug An existing feature does not function as intended General Interface Parts of the UI which don't fall neatly under other labels. labels Nov 21, 2019
@youknowriad youknowriad self-assigned this Nov 21, 2019
@youknowriad youknowriad requested a review from gwwar November 21, 2019 09:55
// Used to prevent z-index issues on mobile.
// See: https://github.com/WordPress/gutenberg/pull/7621#issuecomment-424322735
.components-popover.edit-post-post-schedule__dialog.is-bottom.is-left {
z-index: 100000;
Copy link
Contributor

Choose a reason for hiding this comment

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

🔪 ✨

Copy link
Contributor

@gwwar gwwar left a comment

Choose a reason for hiding this comment

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

Thanks @youknowriad this tests well for me on both Desktop/Mobile size viewports!

@youknowriad youknowriad merged commit 983c60f into master Nov 21, 2019
@youknowriad youknowriad deleted the fix/date-picker-popover-mobile branch November 21, 2019 17:27
@youknowriad youknowriad added this to the Gutenberg 7.0 milestone Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
General Interface Parts of the UI which don't fall neatly under other labels. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot Schedule Post in Small Viewports
2 participants