Skip to content

Conversation

@BenOsodrac
Copy link
Contributor

@BenOsodrac BenOsodrac commented Dec 5, 2025

Issue number: internal


What is the current behavior?

Although the work done on FW-6931, there was still a scenario on MobileUI, inside the ion-modal, where the datetime would disappear. This seems to only happen on iOS 26+, as we were not able to replicate it on version 18.*

What is the new behavior?

As there's already task to better fix this issue across all themes, this PR introduces a small css backdoor, to be able to override the opacity value when necessary. This was done on ionic theme only and the css was split, to have no impact on md and iOS.

  • In datetime.ionic.scss, opacity is now controlled via CSS variables (--body-opacity, --year-opacity) for .calendar-body and .datetime-year.
  • In datetime.native.scss, explicit opacity rules for .calendar-body and .datetime-year are added, with visibility toggled based on the .datetime-ready class.
  • In datetime.common.scss, redundant and hard-coded opacity rules for .calendar-body and .datetime-year are removed, deferring control to theme-specific stylesheets.

A small fix was also done on IonHeader token used for the border-color, to correctly reflect the value from Figma.

Does this introduce a breaking change?

  • Yes
  • No

@BenOsodrac BenOsodrac added package: core @ionic/core package type: bug a confirmed bug report labels Dec 5, 2025
@vercel
Copy link

vercel bot commented Dec 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ionic-framework Ready Ready Preview Comment Dec 5, 2025 11:50am

@BenOsodrac BenOsodrac marked this pull request as ready for review December 5, 2025 12:32
@BenOsodrac BenOsodrac requested a review from a team as a code owner December 5, 2025 12:32
@BenOsodrac BenOsodrac requested review from OS-jacobbell, ShaneK and brandyscarney and removed request for OS-jacobbell and ShaneK December 5, 2025 12:32
@BenOsodrac BenOsodrac merged commit 5a91dbd into next Dec 5, 2025
49 checks passed
@BenOsodrac BenOsodrac deleted the ROU-12374 branch December 5, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package type: bug a confirmed bug report

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants