diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-03-21 18:29:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-21 09:29:14 -0700 |
commit | c4785ef96e13d02b217dce4e777269c0e895507d (patch) | |
tree | 785b8f00ded8dbdb6cd167a280141faad8873e3b /src/components/Menu/index.tsx | |
parent | f6f253b4c93f5166648615d03f38ede40135f646 (diff) | |
download | voidsky-c4785ef96e13d02b217dce4e777269c0e895507d.tar.zst |
New `ContextMenu` menu type for DM messages (#8014)
* get context menu somewhat working ish * take screenshot rather than double rendering * get animations somewhat working * get transform animation working * rm log * upwards safe area * get working on android * get android working once and for all * fix positioning on both platforms * use dark blur on ios always, fix dark mode * allow closing with hardware back press * try and fix type error * add note about ts-ignore * round post * add image capture error handling * extract magic numbers * set explicit embed width, rm top margin * Message embed width tweaks * Format * fix position of embeds * same as above for web --------- Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/components/Menu/index.tsx')
-rw-r--r-- | src/components/Menu/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Menu/index.tsx b/src/components/Menu/index.tsx index 06b9e7e55..a84317771 100644 --- a/src/components/Menu/index.tsx +++ b/src/components/Menu/index.tsx @@ -34,7 +34,7 @@ export function Root({ children, control, }: React.PropsWithChildren<{ - control?: Dialog.DialogOuterProps['control'] + control?: Dialog.DialogControlProps }>) { const defaultControl = Dialog.useDialogControl() const context = React.useMemo<ContextType>( |