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: Scrollytelling layout #41

Merged
merged 4 commits into from
Jan 29, 2025
Merged

fix: Scrollytelling layout #41

merged 4 commits into from
Jan 29, 2025

Conversation

AliceR
Copy link
Member

@AliceR AliceR commented Jan 28, 2025

Small changes while working on #1403.

Mainly to test if the deploy preview will work :)

It's unclear why TypeScript doesn't complain when this prop is missing. Further investigation might be needed.
Remove duplicate <main>, use utility classes instead of inline style
Copy link

netlify bot commented Jan 28, 2025

Deploy Preview for veda-ui-next-test ready!

Name Link
🔨 Latest commit f1f644b
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui-next-test/deploys/6799f1f1c715760008a853c0
😎 Deploy Preview https://deploy-preview-41--veda-ui-next-test.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
Copy link
Member Author

AliceR commented Jan 29, 2025

Thank you @dzole0311 for walking me through the (pre-) release process again ☺️

AliceR added a commit to NASA-IMPACT/veda-ui that referenced this pull request Jan 29, 2025
**Related Ticket:** #1402 

### Description of Changes
Provide a fallback value for top offset of ScrollyMapContainer: When
`topOffset` is undefined it causes the css `top` property to be faulty,
which makes the `position: sticky` not working.

### Notes & Questions About Changes
Do we still need the whole `useSlidingStickyHeaderProps` logic with the
USWDS header?

### Validation / Testing
You will to validate in the next-veda instance, making sure the map
stays sticky on the top when scrolling down.
Related PR on next-veda-ui:
developmentseed/next-veda-ui#41
@AliceR AliceR merged commit d30bd68 into main Jan 29, 2025
4 checks passed
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.

2 participants