-
-
Notifications
You must be signed in to change notification settings - Fork 53.5k
Closed
Description
Reproduction link
https://ant.design/components/switch/?theme=dark
Steps to reproduce
Un-toggle a switch with text.
What is expected?
background should be gray, and we should see the text.
What is actually happening?
the background is white when switch is off, same as the text, so we cannot see it.
Environment | Info |
---|---|
antd | 4.20.1 |
React | 18 |
System | win |
Browser | chromium |