-
Notifications
You must be signed in to change notification settings - Fork 30
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
Slideshow: allow carousel interaction in cards #12852
base: main
Are you sure you want to change the base?
Conversation
Size Change: +3.58 kB (+0.38%) Total Size: 944 kB
ℹ️ View Unchanged
|
c3f9063
to
dd53151
Compare
<div className="image-overlay" /> | ||
)} | ||
{(imageType === 'picture' || imageType === 'slideshow') && | ||
!hideImageOverlay && <div className="image-overlay" />} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do we expect to happen when hovering over a card with a slideshow? Do we not still expect the image to dim?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's an existing auto-playing slideshow the image will still dim when hovered, but not if it's a slideshow carousel. As you have to hover over the card to interact with the slideshow it would effectively mean the slideshow images are permanently dimmed as you scroll though them. I'll clarify what the desired effect is here though.
dd53151
to
5ffe8e2
Compare
What does this change?
Why?
This allows slideshows to be interacted with when added to a front.
Part of the work to support slideshow carousels in DCR, bringing parity between web and app.
Images