Skip to content

Commit

Permalink
fix: prevent smooth scroll on category close
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Boles committed Oct 12, 2023
1 parent a2c133b commit 9605527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ export const collapseSection = (element) => {
const top = parent.getBoundingClientRect()?.top;
window.scrollTo({
top,
behavior: 'smooth',
// behavior: 'smooth',
});

/**
Expand Down

0 comments on commit 9605527

Please sign in to comment.