We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 640d864 commit 20f7bf1Copy full SHA for 20f7bf1
1 file changed
apps/common-app/src/new_api/showcase/bottom_sheet/index.tsx
@@ -48,7 +48,7 @@ function Example() {
48
// calculate nearest snap point
49
let destSnapPointIndex = 0;
50
51
- if (snapPointIndex === 0 && endOffsetY < fullyOpenSnapPoint) {
+ if (snapPointIndexValue.value === 0 && endOffsetY < fullyOpenSnapPoint) {
52
return;
53
}
54
for (const [index, snapPoint] of snapPointsFromTop.entries()) {
0 commit comments