Skip to content

fix(picker-column): fallback to elementFromPoint for iOS 16 Shadow DOM bug #30479

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

Merged
merged 2 commits into from
Jun 18, 2025

Conversation

thetaPC
Copy link
Contributor

@thetaPC thetaPC commented Jun 11, 2025

Issue number: resolves #29672


What is the current behavior?

The issue on iOS 16 with elementsFromPoint is related to how it handles Shadow DOM retargeting when called from the document (global) context.

It leads to an undefined element that is required to trigger ionChange.

What is the new behavior?

  • Returns the top most element as a fallback only if the element has a tag of 'ion-picker-column-option'.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Dev build: 8.6.2-dev.11749761258.1b46b6a9

Copy link

vercel bot commented Jun 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2025 8:38pm

@github-actions github-actions bot added the package: core @ionic/core package label Jun 11, 2025
@thetaPC thetaPC marked this pull request as ready for review June 16, 2025 15:53
@thetaPC thetaPC requested a review from a team as a code owner June 16, 2025 15:53
@thetaPC thetaPC added this pull request to the merge queue Jun 18, 2025
Merged via the queue into main with commit 6ae2907 Jun 18, 2025
64 checks passed
@thetaPC thetaPC deleted the FW-6592 branch June 18, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: ionChange not fired on iOS 16 devices for ion-picker
2 participants