Select menu positioned above the trigger with side="top".
npx shadcn@latest add @shadcnblocks/select-select-position-variant
Sign in or get a license at Shadcn Blocks to see its source and install it.