We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50064a0 commit a751a88Copy full SHA for a751a88
src/App.js
@@ -17,6 +17,7 @@ function App() {
17
18
const toggleSearch = () => {
19
setIsSearchVisible(!isSearchVisible);
20
+ window.scrollTo({ top: 0, behavior: 'smooth' }); // Scroll to top
21
};
22
23
return (
0 commit comments