Skip to content

Fix: Enhance ScrollRevealWrapper with proper ref handling and variants#173

Open
affan80 wants to merge 1 commit intoDevSyncx:mainfrom
affan80:feature/scroll-reveal-fix
Open

Fix: Enhance ScrollRevealWrapper with proper ref handling and variants#173
affan80 wants to merge 1 commit intoDevSyncx:mainfrom
affan80:feature/scroll-reveal-fix

Conversation

@affan80
Copy link

@affan80 affan80 commented Oct 8, 2025

This PR enhances the ScrollRevealWrapper component with proper ref handling and variants.

fix: enhance ScrollRevealWrapper component

  • Fixed ref handling for motion.div with react-intersection-observer
  • Added animation variants for cleaner animations
  • Added optional delay prop support
  • Cleaned up formatting and removed unnecessary code

@vercel
Copy link

vercel bot commented Oct 8, 2025

@affan80 is attempting to deploy a commit to the Annanya's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

github-actions bot commented Oct 8, 2025

🙌 Thanks @affan80 for raising this PR!
Our team will review it soon ⏳ — meanwhile, please make sure your PR follows our contributing guidelines 👉 Contributing Guidelines 🎉

@Annanyatiwary4
Copy link
Collaborator

@affan80 share screenshots for any ui changes

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