You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was discovered while investigating turning on strict null checks everywhere.
AccessibilityInfo.isReduceMotionEnabled is a function, so thumbAnimation will always choose the "true" option. Is this really what we want? I've noticed that reduce motion doesn't seem to affect native slide switches on macOS and iOS, and the FURN switch reflects that behavior, although other platforms might be a different story. We should double check this.
The text was updated successfully, but these errors were encountered:
fluentui-react-native/packages/components/Switch/src/Switch.tsx
Lines 76 to 77 in 95b1eca
This was discovered while investigating turning on strict null checks everywhere.
AccessibilityInfo.isReduceMotionEnabled
is a function, sothumbAnimation
will always choose the "true" option. Is this really what we want? I've noticed that reduce motion doesn't seem to affect native slide switches on macOS and iOS, and the FURN switch reflects that behavior, although other platforms might be a different story. We should double check this.The text was updated successfully, but these errors were encountered: