Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

enhancement: Scroll instantly when the user prefers reduced motion#1921

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
LeopoldTal wants to merge1 commit intodocsifyjs:develop
base:develop
Choose a base branch
Loading
fromLeopoldTal:feat-respect-reduced-motion

Conversation

@LeopoldTal
Copy link

@LeopoldTalLeopoldTal commentedNov 3, 2022
edited
Loading

Summary

Theprefers-reduced-motion media query allows users to specify an accessibility setting for less animation.

Smooth scrolling can trigger seasickness for some users, so if the user has set this preference, scroll instantly.

No behaviour change when this preference is not set.

What kind of change does this PR introduce?

Feature

For any code change,

  • Related documentation has been updated if needed
  • Related tests have been updated or tests have been added

Couldn't find any applicable doc or tests, let me know if I missed any.

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

Related issue, if any:

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE

@vercel
Copy link

vercelbot commentedNov 3, 2022
edited
Loading

The latest updates on your projects. Learn more aboutVercel for Git ↗︎

NameStatusPreviewUpdated
docsify-preview✅ Ready (Inspect)Visit PreviewDec 12, 2022 at 10:57AM (UTC)

@codesandbox-ci
Copy link

codesandbox-cibot commentedNov 3, 2022
edited
Loading

This pull request is automatically built and testable inCodeSandbox.

To see build info of the built libraries, clickhere or the icon next to each commit SHA.

Latest deployment of this branch, based on commitca2b750:

SandboxSource
docsify-templateConfiguration

@LeopoldTalLeopoldTal changed the titlefix: Scroll instantly when the user prefers reduced motionfeat: Scroll instantly when the user prefers reduced motionNov 3, 2022
@LeopoldTalLeopoldTal changed the titlefeat: Scroll instantly when the user prefers reduced motionenhancement: Scroll instantly when the user prefers reduced motionNov 3, 2022
@Koooooo-7Koooooo-7 requested a review froma teamNovember 4, 2022 10:58
Smooth scrolling can trigger seasickness for some users. The [`prefers-reduced-motion` media query](https://css-tricks.com/introduction-reduced-motion-media-query/) allows these users to specify an accessibility setting for less animation, e.g. instant scrolling.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@LeopoldTal

[8]ページ先頭

©2009-2025 Movatter.jp