Menu anchor position is calculated automaticly. But you can override the calculation by passing an anchor position.
Auto calculation will be "top-left", "top-center" or "top-right". If you want to open menu from bottom, you need to use
"bottom-left", "bottom-center" or "bottom-right". Or if you want to use auto calculation for bottom, see bottom prop.
Hold Menu automaticly calculates if you do not set menuAnchorPosition.
If you want to open menu from bottom like Telegram bottom nav buttons in iOS and use auto anchor calculation,
you should set bottom as true.
type
default
required
boolean
false
NO
disableMove
You may need disable move of holded item for your example. Set it true.
type
default
required
boolean
false
NO
styles
Hold item container styles. You may need dynamic width or hight for some examples like message boxes. See Whatsapp example.
type
default
required
ViewStyle | ViewStyle[];
{}
NO
Example
// For Whatsapp example
<HoldItemstyles={{position:'relative',maxWidth:'80%',}}/>