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

Disable panning inertia if prefers-reduced-motion is enabled #12631

Merged
merged 1 commit into from
Mar 29, 2023

Conversation

stepankuzmin
Copy link
Contributor

@stepankuzmin stepankuzmin commented Mar 28, 2023

This PR removes panning inertia if prefers reduced motion is enabled. The fix doesn't affect the essential option behavior in AnimationOptions.

output.mov

See also #8494 and #8883

Launch Checklist

  • briefly describe the changes in this PR
  • manually test the debug page
  • apply changelog label ('bug', 'feature', 'docs', etc) or use the label 'skip changelog'
  • add an entry inside this element for inclusion in the mapbox-gl-js changelog: <changelog>Disable panning inertia if "prefers-reduced-motion" is enabled</changelog>

@stepankuzmin stepankuzmin requested a review from ansis March 28, 2023 12:37
@stepankuzmin stepankuzmin requested a review from a team as a code owner March 28, 2023 12:37
@stepankuzmin stepankuzmin changed the title Disable panning inertia if prefers reduced motion is enabled Disable panning inertia if prefers-reduced-motion is enabled Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants