fix: ooo reason select dropdown opening in wrong direction (#27426)

Add menuPlacement="bottom" to the reason Select in the OOO modal
to ensure dropdown opens downwards consistently with other selects.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Amit Sharma
2026-01-30 13:27:52 +00:00
committed by GitHub
co-authored by Claude Opus 4.5
parent 72307b13c7
commit cf2bf9bb8d
@@ -312,6 +312,7 @@ export const CreateOrEditOutOfOfficeEntryModal = ({
className="mb-0 mt-1 text-white"
name="reason"
data-testid="reason_select"
menuPlacement="bottom"
value={reasonList.find((reason) => reason.value === value)}
placeholder={t("ooo_select_reason")}
options={reasonList}