expo / expo/react-native-action-sheet
Can't find how to set the style back to bottom instead of centre screen in iOS 26
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 223
- PR merge metrics
- No merged PRs in 30d
Description
Is there an option I can add to the below to get action sheet show from the bottom like we all knew and loved before this liquid-glass nightmare?
```
const handleShowOptions = useCallback(
(habitId: string, habitContent: string) => {
const options = ['Edit', 'Delete', 'Cancel'];
const destructiveButtonIndex = 1;
const cancelButtonIndex = 2;
showActionSheetWithOptions(
{
options,
cancelButtonIndex,
destructiveButtonIndex,
},
(selectedIndex?: number) => {
switch (selectedIndex) {
case 0:
break;
case destructiveButtonIndex:
handleDelete(habitId, habitContent);
break;
}
}
);
},
[showActionSheetWithOptions, handleDelete]
);
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.