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

fix: Add wrapping div for scrollytelling map and chapters #1437

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

AliceR
Copy link
Member

@AliceR AliceR commented Feb 4, 2025

Related Ticket: Fix #1418

Description of Changes

Since the legacy instance was using a lazyload-wrapper this wasn't necessary*, but for instances not using this approach, the additional wrapping div is actually required to build the layout as intended. It doesn't hurt the legacy either.

* The LazyLoad component from 'react-lazyload' creates a wrapping div with class="lazyload-wrapper "

Validation / Testing

Go to a story, make sure you can scroll down all the way to see text content below the scrollymap, as well as map comparison blocks.
Corresponding deploy preview from next-veda-ui: https://deploy-preview-43--veda-ui-next-test.netlify.app/stories/air-quality-and-covid-19

Since the legacy instance was using a lazyload-wrapper this wasn't necessary, but for instances not using this approach, the additional wrapping div is actually required to build the layout as intended. It doesn't hurt the legacy either.
Copy link

netlify bot commented Feb 4, 2025

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit f9aa2c7
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui/deploys/67a24465e275260008841d67
😎 Deploy Preview https://deploy-preview-1437--veda-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@AliceR AliceR requested a review from dzole0311 February 4, 2025 16:50
@AliceR AliceR merged commit d764dba into main Feb 5, 2025
12 checks passed
@AliceR AliceR deleted the fix#1418/scrollytelling-layout branch February 5, 2025 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scrollytelling doesn't scroll away even when the scrollytelling section is done
2 participants