Skip to content

Can't find how to set the style back to bottom instead of centre screen in iOS 26 #350

@itsmikefort

Description

@itsmikefort

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]
  );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions