You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Popover arrow is rendered under the backdrop #28985
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
This issue only seems to reproduce on Mac
As seen in the Side and Alignment Demo, when the popover is presented in iOS the arrow is lighter than the popover container as a result of rendering under the backdrop.
Additionally, while hard to visibly see based on the background color, the arrow is not tight to the container and is ~1px offset from where it should render.
Expected Behavior
The popover arrow should have the same visible background state as the popover container. With brief exploration, the z-index of .popover-arrow should be 11 or greater.
The popover arrow should be tight to the container, as seen in the Human Interface Guidelines. With brief exploration, the fractional units used for the top value are causing the arrow to render incorrectly. Flooring the value results in the correct display.
Here is a modified example of the expected visual state:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
thetaPC commentedon Jun 2, 2023
Thank you for the issue! I was able to replicate it using Firefox, Chrome, and Safari with a Mac.
Sahil-B07 commentedon Oct 28, 2023
Hi, I would like to work on this issue 🙂
thetaPC commentedon Feb 5, 2024
Update: I have verified that this issue is not being replicated within Ionic Framework. It's only happening within the Ionic docs site.
thetaPC commentedon Feb 6, 2024
After discussing with the team, the issue indeed lies within the Ionic Framework.
fix(popover): render arrow above backdrop (#28986)
fix(popover): render arrow above backdrop (#28986)
thetaPC commentedon Feb 7, 2024
Thanks for the issue! This has been resolved via #28986 and will be available in an upcoming release of Ionic.
ionitron-bot commentedon Mar 8, 2024
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.