Open mediaformat opened 11 months ago
This PR adds media query detection of user preferences relating to motion, and applies scroll-behavior: auto;.
scroll-behavior: auto;
https://github.com/WebDevStudios/wd_f/assets/2895351/53459500-1001-4bcc-a277-2aba17088227
Caption: Video starts with reduced motion pref true, I turn it off and it restores smooth-scroll behaviour.
@khleomix if you want to test this you can refer to an implementation an Paramount
Closes
What type of PR is this? (put an x to all applicable)
Link to test
Description
This PR adds media query detection of user preferences relating to motion, and applies
scroll-behavior: auto;
.Related Tickets & Documents
Mobile & Desktop Screenshots/Recordings
https://github.com/WebDevStudios/wd_f/assets/2895351/53459500-1001-4bcc-a277-2aba17088227
Caption: Video starts with reduced motion pref true, I turn it off and it restores smooth-scroll behaviour.
Added tests?
Added to documentation?
Others