Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Optimize SearchBox sticky behavior for better performance
This commit optimizes the sticky behavior of the SearchBox component by adding a condition to only attach the scroll event listener when the window width is greater than 768 pixels. This improvement reduces unnecessary event handling and improves performance. Note: This message includes additional information for clarity. Please remove it before using the commit message.
- Loading branch information