Skip to content

Commit

Permalink
Add handleChange to bottom nav controls (#2229)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman authored Jul 23, 2024
1 parent 88eeac1 commit 29fcbac
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/lib/holocene/pagination.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@
<button
class="caret"
disabled={!$store.hasPrevious}
on:click={() => store.previous()}
on:click={() => {
store.previous();
handlePageChange();
}}
aria-label={previousButtonLabel}
>
<span class="arrow arrow-left" />
Expand All @@ -236,7 +239,10 @@
<button
class="caret"
disabled={!$store.hasNext}
on:click={() => store.next()}
on:click={() => {
store.next();
handlePageChange();
}}
aria-label={nextButtonLabel}
>
<span class="arrow arrow-right" />
Expand Down

0 comments on commit 29fcbac

Please sign in to comment.