Update index.html for issue in cursor follower #543
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Template for GSoC 2024
Related Issue #474
[Please list any related issue numbers that this pull request resolves. If none, state "None"]
closes:
Description of Changes
This PR fixes an issue where the custom cursor follower element would misalign with the user's cursor when scrolling. The update adds the scroll offset to the coords.y position, ensuring that the cursor follower remains aligned with the mouse cursor even after scrolling.
Type of Pull Request
Screenshots / Demo (if applicable)
[Include any screenshots, GIFs, or videos that demonstrate the change or feature, if available.]
Checklist for Contributor
use'X' in [ ] to check it .
Additional Information
This fix modifies the mousemove event handler to account for the page's vertical scroll offset, preventing alignment issues between the custom cursor follower and the mouse position after scrolling. This solution minimally impacts the original code structure.
The issue that I was facing and that I have tried to fix in this PR :
Station.Saarthi.-.Google.Chrome.2024-11-12.18-40-31.mp4
Contribution Guidelines Reminder
Thank you for contributing to our project! Please ensure you follow the guidelines below:
Contribution Levels
Task Categories:
Acknowledging Effort:
Review Process
PRs will be reviewed by the maintainers, and feedback will be provided. Contributors should address feedback promptly and resubmit the PR if necessary.
Contributors are encouraged to participate in the review process of other PRs for community growth.
We appreciate your time and effort in improving this project and look forward to your valuable contributions!