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: z-index: -1 needed for publish footer due to accordions #10589

Closed

Conversation

postphotos
Copy link
Contributor

@postphotos postphotos commented Oct 14, 2018

Description

In testing the new calendar feature (#7621) I spotted a bug. When using the new pre-publish toggle (#9760), opening longer panels cause a z-index issue as such:
screen shot 2018-10-13 at 6 36 52 pm

The problem has to do with the way the accordions above behave, and a quick z-index: -1 gets it to cooperate again.

How has this been tested?

I tested the fix replicated the bug in Safari, Firefox and Chrome. I was not able to test in Edge or Opera, so this would be nice if it's required for merge.

Screenshots

In addition to the bug was screenshot above, The bug and fix is seen here as a screen recording:
https://www.youtube.com/embed/M6CJtV1yFq4

Types of changes

Fixes a small regression oversight probably missed in #9670.

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.

@postphotos
Copy link
Contributor Author

@nosolosw:
Per https://wordpress.slack.com/archives/C02QB2JS7/p1539718367000100 -
Can you take a look at this?

@tofumatt tofumatt requested review from tofumatt and oandregal and removed request for tofumatt October 17, 2018 01:16
@tofumatt
Copy link
Member

Nice catch! I merged the new date picker so I'll try to have a look, but if @nosolosw gets to it before me I trust them 😄

@oandregal
Copy link
Member

@postphotos Thanks for the bug report, ping, and proposal! I appreciate it.

I think we may want an alternative way to fix this. Instead of hiding the pre-publish checks, we should make sure it sticks to the bottom, even when the parent grows. #10680 implements that approach.

Closing this PR in favor of 10680.

@oandregal oandregal closed this Oct 17, 2018
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.

3 participants