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

[BUG] SfComponentSelect doens't work inside ContentPages on Mobile #2491

Open
InnaBoitsun opened this issue Sep 13, 2022 · 0 comments
Open
Labels
bug Something isn't working v1.x.x Issues regarding SFUI 1.x.x

Comments

@InnaBoitsun
Copy link

InnaBoitsun commented Sep 13, 2022

Describe the bug
The form with SfComponentSelect inside the ContentPages component will not work on Mobile view.

How to reproduce
Steps to reproduce the behavior:

  1. Mobile view, Go to My Account page example - > Shipping Details
  2. Click the Change button for some address
  3. Locate the Country field and try to select country

Expected behavior
It is possible to select the Country, options are present

Actual behavior

  1. Dropdown with options is absent

Code examples
My Account page example - address form https://docs.storefrontui.io/?path=/docs/components-pages-myaccount--my-account

Additional context
For mobile view the overlay with options should be visible. Overlay has position: fixed.
Based on docs here https://developer.mozilla.org/en-US/docs/Web/CSS/position ,
Fixed is positioned relative to the initial [containing block] established by the [viewport] except when one of its ancestors has a transform, perspective, or filter property set to something other than none. I investigated Content Pages and they have a transform set, so probably it doesn't work because of this.

┆Issue is synchronized with this Jira Task by Unito

@InnaBoitsun InnaBoitsun added the bug Something isn't working label Sep 13, 2022
InnaBoitsun added a commit to Orckestra/orc-vsf that referenced this issue Sep 13, 2022
InnaBoitsun added a commit to Orckestra/orc-vsf that referenced this issue Sep 13, 2022
@FRSgit FRSgit added the v1.x.x Issues regarding SFUI 1.x.x label Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1.x.x Issues regarding SFUI 1.x.x
Projects
None yet
Development

No branches or pull requests

2 participants