Skip to content

Commit 8405e9a

Browse files
committed
fix: scroll direction that makes bottom app bar hide
1 parent 68deb4b commit 8405e9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bottom-app-bar/src/BottomAppBar.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
// but the current scroll of the bottom app bar should stay in the same
157157
// position.
158158
if (!isCurrentlyBeingResized) {
159-
currentAppBarOffsetBottom += diff;
159+
currentAppBarOffsetBottom -= diff;
160160
161161
if (currentAppBarOffsetBottom > 0) {
162162
currentAppBarOffsetBottom = 0;

0 commit comments

Comments
 (0)