diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 26157981..60ed4498 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,6 +17,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Configure repo run: | diff --git a/playlet-web/src/lib/BottomNavigation.svelte b/playlet-web/src/lib/BottomNavigation.svelte index 285145aa..721441d2 100644 --- a/playlet-web/src/lib/BottomNavigation.svelte +++ b/playlet-web/src/lib/BottomNavigation.svelte @@ -8,6 +8,12 @@ function setScreen(screen: AppState["screen"]) { appStateStore.update((state) => { + if (state.screen === screen) { + window.scrollTo({ + top: 0, + behavior: "smooth", + }); + } state.screen = screen; return state; });