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

docs: Rewrite useAnimatedScrollHandler page #6374

Merged

Conversation

patrycjakalinska
Copy link
Contributor

@patrycjakalinska patrycjakalinska commented Aug 5, 2024

Before:

Screen.Recording.2024-08-05.at.14.49.59.mov

After:

Screen.Recording.2024-08-05.at.14.48.14.mov

@patrycjakalinska patrycjakalinska changed the title docs: Add useAnimatedScrollHandler page docs: Rewrite useAnimatedScrollHandler page Aug 5, 2024
Copy link
Contributor

@szydlovsky szydlovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some stylistic suggestions only, good job!

@patrycjakalinska patrycjakalinska added this pull request to the merge queue Aug 8, 2024
Merged via the queue into main with commit fd3bf24 Aug 8, 2024
6 checks passed
@patrycjakalinska patrycjakalinska deleted the @patrycjakalinska/useAnimatedScrollHandler-rewrite branch August 8, 2024 11:56
const offsetAnimatedProps = useAnimatedProps(() => {
return {
text: `Scroll offset: ${Math.round(offsetX.value)}px`,
defaultValue: `Scroll offset: ${offsetX.value}x`,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a typo.

Suggested change
defaultValue: `Scroll offset: ${offsetX.value}x`,
defaultValue: `Scroll offset: ${offsetX.value}px`,

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.

4 participants