Skip to content

Commit

Permalink
Possible scrolling improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Jukka Puranen committed Oct 1, 2023
1 parent b6efaf6 commit 95a8b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BlazorApp/wwwroot/js/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
window.scrollToBottom = function (elementId) {
var element = document.getElementById(elementId);
element.scrollIntoView({block: 'center', behavior: 'smooth'})
element.scrollIntoView(false);
};

0 comments on commit 95a8b68

Please sign in to comment.