Skip to content

Commit

Permalink
Fix: Explore flashes on breadcrumb interaction (#5759)
Browse files Browse the repository at this point in the history
  • Loading branch information
briangregoryholmes authored Sep 23, 2024
1 parent d354081 commit 0acd719
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
on:click={() => {
if (isCurrentPage && !isEmbedded) window.location.reload();
}}
href={linkMaker(currentPath, depth, current, selected, "")}
href={isCurrentPage
? "#top"
: linkMaker(currentPath, depth, current, selected, "")}
class="text-gray-500 hover:text-gray-600"
class:current={isCurrentPage}
>
Expand Down

1 comment on commit 0acd719

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.