From 83687fcaddbad7aeba33c2159027885041bd0d7f Mon Sep 17 00:00:00 2001 From: Tan Jing Zhi Date: Thu, 26 Sep 2024 13:22:47 +0800 Subject: [PATCH] [BOOKINGSG-6090-date-navigator][JZ|FY] Fix combobox-picker typing change error --- .../combobox-picker/combobox-picker.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/time-range-picker/combobox-picker/combobox-picker.tsx b/src/time-range-picker/combobox-picker/combobox-picker.tsx index 985c237ef..e1ff8e04a 100644 --- a/src/time-range-picker/combobox-picker/combobox-picker.tsx +++ b/src/time-range-picker/combobox-picker/combobox-picker.tsx @@ -1,17 +1,17 @@ +import { OpenChangeReason } from "@floating-ui/react"; import { useCallback, useEffect, useMemo, useRef, useState } from "react"; -import { ClearIcon } from "../../input/input.style"; +import { ErrorMessage } from "../../form/form-label.style"; import { ClearIconContainer } from "../../input-range-select/input-range-select.style"; -import { DropdownList } from "../../shared/dropdown-list-v2/dropdown-list"; +import { ClearIcon } from "../../input/input.style"; import { DropdownListState } from "../../shared/dropdown-list-v2"; +import { DropdownList } from "../../shared/dropdown-list-v2/dropdown-list"; import { ElementWithDropdown } from "../../shared/dropdown-wrapper"; -import { ErrorMessage } from "../../form/form-label.style"; -import { OpenChangeReason } from "@floating-ui/react"; import { RangeInputInnerContainer } from "../../shared/range-input-inner-container"; -import { SelectorInput, Wrapper } from "../common.styles"; import { SimpleIdGenerator } from "../../util"; -import { TimeFieldContainer } from "./combobox-picker.styles.tsx"; import { TimeHelper } from "../../util/time-helper"; +import { SelectorInput, Wrapper } from "../common.styles"; import { TimeRangePickerProps, TimeRangePickerValue } from "../types"; +import { TimeFieldContainer } from "./combobox-picker.styles.tsx"; type TimeRangeInputType = "start" | "end"; interface TimeChangeOptions { @@ -418,7 +418,7 @@ export const ComboboxPicker = ({ offset={8} alignment={alignment} fitAvailableHeight - zIndex={dropdownZIndex} + customZIndex={dropdownZIndex} /> {renderError()}