Skip to content

Conversation

Ian-Balijawa
Copy link

  • Move scroll handler outside Angular zone to prevent unnecessary CD cycles
  • Add manual change detection only when button visibility changes
  • Use passive scroll listener for better performance
  • Add proper cleanup in ngOnDestroy
  • Improve UI with better styling and transitions

@tomalaforge tomalaforge added the answer answer label Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answer answer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants