Skip to content

Commit

Permalink
change scroll duration
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulramesha committed May 1, 2024
1 parent 3443c6a commit e095676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/components/issues/issue-layouts/kanban/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export const highlightIssueOnDrop = (elementId: string | undefined, shouldScroll
const sourceElementId = elementId ?? "";
const sourceElement = document.getElementById(sourceElementId);
if (shouldScrollIntoView && sourceElement)
await scrollIntoView(sourceElement, { behavior: "smooth", block: "center", duration: 1500 });
await scrollIntoView(sourceElement, { behavior: "smooth", block: "center", duration: 1000 });
sourceElement?.classList?.add("highlight");
setTimeout(() => {
const sourceElementId = elementId ?? "";
Expand Down

0 comments on commit e095676

Please sign in to comment.