Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Filter Products by Attribute block in dropdown mode has zIndex issues #5731

Closed
tomasztunik opened this issue Feb 7, 2022 · 1 comment · Fixed by #6294
Closed

Filter Products by Attribute block in dropdown mode has zIndex issues #5731

tomasztunik opened this issue Feb 7, 2022 · 1 comment · Fixed by #6294
Labels
block: filter by attribute Issues related to the Filter by Attribute block. priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: bug The issue/PR concerns a confirmed bug. type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team.

Comments

@tomasztunik
Copy link
Contributor

Describe the bug

When Filter Products by Attribute block is used in dropdown mode and dropdown is open it is on to low rendering layer (zIndex) and will be overlap by other elements.

Noticed conflicted elements are:

  • All Products block placeholder/loading state
  • "Sale" badge on product grid

To reproduce

Steps to reproduce the behavior:

  1. Create new page with Filter Products by Attribute and All Products block right under
  2. Configure Filter block to use Dropdown display style and show Colour attribute (if using sample products)
  3. Have products on sale in first row
  4. Visit page and focus on field to see dropdown
  • All Products block Placeholder elements are on top of the dropdown
  • Sale badge is on top of the dropdown

Expected behavior

  • The dropdown is above the mentioned elements

Screenshots

If applicable, add screenshots to help explain your problem.
Screenshot 2022-02-07 at 13 08 05
Screenshot 2022-02-07 at 13 07 56

Environment

WordPress (please complete the following information):

  • Core version: 5.9
  • WooCommerce version: 6.1.1
  • WooCommerce Blocks version: 6.9.0
@tomasztunik tomasztunik added type: bug The issue/PR concerns a confirmed bug. type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team. block: filter by attribute Issues related to the Filter by Attribute block. priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. labels Feb 7, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Apr 9, 2022

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Apr 9, 2022
@tomasztunik tomasztunik removed the status: stale Stale issues and PRs have had no updates for 60 days. label Apr 21, 2022
@tomasztunik tomasztunik reopened this Apr 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: filter by attribute Issues related to the Filter by Attribute block. priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: bug The issue/PR concerns a confirmed bug. type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant