Netcentric / vg-volvotrucks-us-rd

Franklin Site Redesign for https://www.volvotrucks.us/
Apache License 2.0
1 stars 1 forks source link

CR: Medium - Video module issues with unexpanded / expanded state #223

Open ZoeBeykirch opened 1 year ago

ZoeBeykirch commented 1 year ago

For the expanding video module block on the redesign homepage, the video should not revert to unexpanded state when the user continues scrolling down the page. The video should only revert to the unexpanded state if the user scrolls up, past the video module.

Current Result:

Image

Desired Result: https://www.figma.com/file/Id3nd9kbfh8TpS1SfWhrW2/Volvo-Component-Library?type=design&node-id=410%3A1174&mode=design&t=16k2LeP6swpEqDov-1

DanielaPedrochevd commented 8 months ago

Agile requirement As a user, when I scroll down after watching an "expanded" video, the video remains expanded to make my experience nicer.

Description Alter the current volvo video block to make sure that when you scroll out of the video, it continues to be expanded.

Acceptance Criteria

NOTE: For a11y purposes, the pause button should also be visible in the unexpanded state

Open point:

cogniSyb commented 8 months ago

The pause button can be moved with translate, taking into account --video-inset

shirin27 commented 8 months ago

Kamino cloned this issue to hlxsites/vg-volvotrucks-us