Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Switch disappears on mouse-down in high contrast (forced colors) #31244

Closed
2 tasks done
behowell opened this issue Apr 30, 2024 · 0 comments · Fixed by #31283
Closed
2 tasks done

[Bug]: Switch disappears on mouse-down in high contrast (forced colors) #31244

behowell opened this issue Apr 30, 2024 · 0 comments · Fixed by #31283

Comments

@behowell
Copy link
Contributor

Library

React Components / v9 (@fluentui/react-components)

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
    Memory: 858.39 MB / 15.60 GB
  Browsers:
    Edge: Chromium (123.0.2420.97), ChromiumDev (123.0.2420.10)
    Internet Explorer: 11.0.22621.1

Are you reporting Accessibility issue?

yes

Reproduction

https://react.fluentui.dev/?path=/docs/components-switch--default

Bug Description

Actual Behavior

Requires system high contrast theme enabled: on Windows: Settings > Accessibility > Contrast themes > Aquatic.

When the switch is selected ("on"), and the mouse is pressed down, the switch disappears. It reappears when the mouse is released.

switch-pressed-high-contrast.mp4

Expected Behavior

The Switch should not disappear.

Logs

No response

Requested priority

Normal

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants