Skip to content

feat(img): deprecate ion-img#31254

Draft
brandyscarney wants to merge 4 commits into
major-9.0from
FW-7304
Draft

feat(img): deprecate ion-img#31254
brandyscarney wants to merge 4 commits into
major-9.0from
FW-7304

Conversation

@brandyscarney

@brandyscarney brandyscarney commented Jun 30, 2026

Copy link
Copy Markdown
Member

Issue number: internal


What is the current behavior?

ion-img exists solely to lazily load images, from a time when browsers had no native way to do so. That capability is now a standard <img> feature, loading="lazy".

What is the new behavior?

Deprecates the ion-img component, with removal planned for v10.

Does this introduce a breaking change?

  • Yes
  • No

The deprecation of ion-img in v9 does not affect its functionality. However, the minimum supported Safari and iOS versions are raised to 16, the first major release that supports native loading="lazy" on <img> elements.

Other information

Preview

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview, Comment Jun 30, 2026 10:23pm

Request Review

@github-actions github-actions Bot added package: core @ionic/core package package: react @ionic/react package labels Jun 30, 2026
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.

1 participant