From db9a0010df3c7fd0fcd0dbcd8c4ad3b30d022b5c Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 6 Jul 2023 12:00:48 -0400 Subject: [PATCH] fix(back-button): show correct background on focus + hover with ios (#27723) Issue number: resolves #27722 --------- ## What is the current behavior? The back button on iOS uses the same background and foreground colors on hover + focus making it impossible to read ## What is the new behavior? - Back button uses a transparent background color on hover + focus to match the behavior of `ion-button` | `main` | branch | | - | - | | | | ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information --- core/src/components/back-button/back-button.ios.scss | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/src/components/back-button/back-button.ios.scss b/core/src/components/back-button/back-button.ios.scss index 73c7469157..dba2f52e18 100644 --- a/core/src/components/back-button/back-button.ios.scss +++ b/core/src/components/back-button/back-button.ios.scss @@ -38,11 +38,3 @@ opacity: .6; } } - - -// Back Button Color: Focused -// -------------------------------------------------- - -:host(.ion-color.ion-focused) .button-native::after { - background: #{current-color(base)}; -}