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] ion-select-options appear behind the pane, select itself doesnt. #221

Open
woutersteven opened this issue Sep 12, 2023 · 3 comments
Open
Assignees

Comments

@woutersteven
Copy link

Describe the bug
Not sure if it is a bug, but i have a pane with an ion-select... and regardless of the interface i use (alert, popover or action-sheet), the options appear behind the modal. The select itself is showing on the pane, but the options aren't showing.

I looked for options to change the z-index, but haven't been successful. I'm using Ionic / Angular and I guess it's in the shadow DOM.

Expected behavior
I expect the selectable options to appear in front of the the pane, regardless of the interface used.

@roman-rr roman-rr self-assigned this Sep 13, 2023
@roman-rr
Copy link
Collaborator

@woutersteven2020 thank you, I'll check.

@roman-rr
Copy link
Collaborator

roman-rr commented Sep 14, 2023

@woutersteven2020 Please make an example.
You can fork this https://jsfiddle.net/romantonoff/8d4p5e0x/

@woutersteven
Copy link
Author

Thank you for the reply, I tried it around for a while. The problem / conflicting issue is

parentElement: "body",

Without it , it works, with it, it appears behind the modal.

Any idea why? I think it can work without it for now.

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

No branches or pull requests

2 participants