BottomSheet: fix bottomUp position on mobile

This commit is contained in:
thislight 2024-09-28 22:38:44 +08:00
parent a6b791ab5a
commit 108e8fc87c
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E
2 changed files with 8 additions and 5 deletions

View file

@ -1,19 +1,14 @@
import {
children,
createEffect,
createRenderEffect,
createSignal,
onCleanup,
onMount,
startTransition,
useTransition,
type ChildrenReturn,
type ParentComponent,
type ResolvedChildren,
} from "solid-js";
import styles from "./BottomSheet.module.css";
import { useHeroSignal } from "../platform/anim";
import { makeEventListener } from "@solid-primitives/event-listener";
export type BottomSheetProps = {
open?: boolean;