A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
fix(avatar): fix avatar disabled for icon content (#30820)
Issue number: internal --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> - When Avatar has an icon as content and is disabled, the icon is above the disabled layer. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - add avatar with icon on disabled state page; - add avatar with icon on snapshots tests; - change disable state to be the :after pseudo element avatar content; ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> [state](https://ionic-framework-git-rou-12319-ionic1.vercel.app/src/components/avatar/test/states?ionic:theme=ionic) --------- Co-authored-by: ionitron <hi@ionicframework.com>
J
João Ferreira committed
10f4197e31d55f3c68da51cc70be9458f4c103c9
Parent: 16cbe63
Committed by GitHub <noreply@github.com>
on 12/3/2025, 2:20:00 PM