flutter / flutter/flutter

Switch widget has unexpected color on the selected handle/thumb when hovering

Open
#149,986 7 comments 0 reactions 0 assignees View on GitHub
found in release: 3.22 found in release: 3.23 has reproducible steps p: material_ui P2 package team-design triaged-design
Dominant language
Dart
Stars
179k
Forks
31.1k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

Is it a bug if when hovering a Switch with the mouse the while element ("the physical switch") completely disappears on MacOS? I can understand the switch can change color while hovering over it but not completely make the white element disapear.

Screenshot 2024-06-10 at 09 41 50
Screenshot 2024-06-10 at 09 41 59

### Expected results

I expect the switch to keep the white element visible (the color can change)

### Actual results

the white element disappears when overring

### Code sample

Code sample

```dart
[Paste your code here]
```

### Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

### Logs

Logs

```console
[Paste your logs here]
```

### Flutter Doctor output

Doctor output

```console
[Paste your output here]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.