Skip to content

Commit

Permalink
Fix [Breadcrumbs] Double scroll when selecting the last project
Browse files Browse the repository at this point in the history
  • Loading branch information
illia-prokopchuk committed Nov 4, 2024
1 parent c8c3d6c commit 24959ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/scroll.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const scrollToElement = (
: setTimeout(() => {
selectedElement.scrollIntoView({
behavior: 'smooth',
block: 'center',
block: 'nearest',
inline: 'start'
})
}, timeoutDuration)
Expand Down

0 comments on commit 24959ed

Please sign in to comment.