Skip to content

fix: show custom cursor animation on contribution page - #1199

Open
shivv2430 wants to merge 2 commits into
devanshi14malhotra:mainfrom
shivv2430:main
Open

shivv2430 wants to merge 2 commits into
devanshi14malhotra:mainfrom
shivv2430:main

Conversation

@shivv2430

Copy link
Copy Markdown
Contributor

Fix: Custom Pencil Cursor Not Visible on Contribution Page

Related Issue

Fixes #1036

What was happening?

The custom pencil cursor animation was only visible on the homepage. When users navigated to the Contribution page, the custom cursor component was not rendered, causing the default browser cursor to appear.

What I changed

  • Moved the custom cursor component to a shared layout/root component so it remains mounted across all routes.
  • Ensured cursor event listeners stay active during page navigation.
  • Verified that the Contribution page does not override cursor styles with conflicting CSS.
  • Maintained existing cursor animation behavior and performance.

Result

  • Custom pencil cursor is now visible on both the homepage and Contribution page.
  • Cursor behavior remains consistent across route transitions.
  • No visual regressions observed on other pages.

Before

  • Homepage: Custom pencil cursor visible
  • Contribution page: Default cursor displayed

After

  • Homepage: Custom pencil cursor visible
  • Contribution page: Custom pencil cursor visible

Testing

  • Tested cursor behavior on Homepage.
  • Tested cursor behavior on Contribution page.
  • Verified smooth cursor animation after navigation between routes.
  • Confirmed responsive behavior across different screen sizes.

GSSoC'26

This PR resolves the UI inconsistency reported in the issue and improves the overall user experience by maintaining a consistent custom cursor across the application.

hii , @devanshi14malhotra ,i have Fixes #1036

@netlify

netlify Bot commented Jun 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for bibliodrift-dm ready!

Name Link
🔨 Latest commit 3a41be8
🔍 Latest deploy log https://app.netlify.com/projects/bibliodrift-dm/deploys/6a216d252c40160008a6d105
😎 Deploy Preview https://deploy-preview-1199--bibliodrift-dm.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 project configuration.

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.

[ENHANCEMENT]: Pencil Cursor Animation Missing on Contribution Page

1 participant