SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.54k stars 265 forks source link

[Switch]: Rendering issue with Horizon High Contrast Black Theme while :focus #7806

Closed raynalje closed 11 months ago

raynalje commented 1 year ago

Bug Description

Issue with ui5-switch component, with Horizon High Contrast Black Theme while :focus :

The white line should be around the Switch: image

Affected Component

ui5-switch

Expected Behaviour

The white line should be around the Switch while focusing the switch : image

Isolated Example

https://sap.github.io/ui5-webcomponents/playground/?path=/docs/main-switch--docs&globals=theme:Horizon+High+Contrast+Black

Steps to Reproduce

  1. Go on ui5-webcomponents playground
  2. Set theme: Horizon High Contrast Black
  3. Click and focus the switch
  4. White circle appears ...

Log Output, Stack Trace or Screenshots

image

Priority

Low

UI5 Web Components Version

1.19.0

Browser

Chrome

Operating System

Windows 11

Additional Context

No response

Organization

SAP

Declaration

petyabegovska commented 1 year ago

Hello @SAP/ui5-webcomponents-topic-b,

Please have a look. The issue is easily reproducible in Storybook.

Best regards, Petya