Skip to content

Conversation

@atyrode
Copy link
Contributor

@atyrode atyrode commented Apr 27, 2025

Increase the debounce for the scroll to 500ms and hide clickable hint by default on all elements.

atyrode added 5 commits April 27, 2025 22:50
- Introduced a LockIndicator component that displays a lock icon when the user is scrolling.
- Updated styles to enhance the visibility and positioning of the lock icon.
- Implemented event listeners to manage the visibility of the lock icon based on scroll state.
- Added a countdown timer to the LockIndicator component that activates when scrolling stops.
- Updated styles for the lock icon and countdown timer to improve visibility and positioning.
- Implemented polling and event listeners to manage the countdown state effectively.
- Removed the countdown timer functionality from the LockIndicator component, streamlining its behavior to only show the lock icon when scrolling.
- Updated styles to reflect the removal of the countdown timer and adjusted the lock icon's size for better integration.
- Cleaned up the useEffect hook to eliminate unnecessary state management related to the countdown.
@atyrode atyrode merged commit 8d7d145 into main Apr 27, 2025
1 check passed
@atyrode atyrode deleted the scroll-adjustments branch April 27, 2025 23:33
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