Files
ionic-framework/core/src/components
José Rio 28caeff459 fix(select): remove item focus style when there are no selected items only at ionic mode (#30750)
Issue number: resolves #

---------

This PR introduces improvements to the visual focus styling of Ionic
items when inside a select modal.

## What is the current behavior?
- The CSS variables `--background-focused` and
`--background-focused-opacity` were missing from `item.ionic.scss`,
which resulted in the native default outline focus style being applied
to focused items.
- When no item is selected, the focus style is currently applied to the
first list item by default, which we intend to change.

## What is the new behavior?
- Added missing focus css variables
- Hide the default focus style when there is no item selected

## NOTE
- This change will require an additional interaction to observe the
focus behavior when navigating through keyboard, since tap-based
navigation does not rely on focus styling.

## 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. -->

---------

Co-authored-by: ionitron <hi@ionicframework.com>
Co-authored-by: Maria Hutt <thetaPC@users.noreply.github.com>
2025-10-30 15:14:43 +00:00
..
2025-09-17 11:59:34 -07:00
2025-09-17 11:59:34 -07:00
2025-09-17 11:59:34 -07:00
2025-09-17 19:16:02 +00:00
2025-09-17 11:59:34 -07:00
2025-06-11 11:05:09 -07:00
2025-09-17 19:16:02 +00:00
2025-09-17 11:59:34 -07:00
2025-09-17 11:59:34 -07:00
2025-06-05 21:37:01 +00:00
2025-09-17 11:59:34 -07:00
2025-09-17 11:59:34 -07:00
2025-09-24 13:21:21 -07:00
2025-09-17 11:59:34 -07:00
2025-09-17 11:59:34 -07:00
2025-09-17 11:59:34 -07:00
2025-09-17 11:59:34 -07:00
2025-09-17 11:59:34 -07:00
2023-03-15 10:03:38 -04:00
2025-08-05 12:52:37 -04:00
2025-06-05 21:37:01 +00:00
2025-09-17 11:59:34 -07:00