Skip to content

Commit

Permalink
fix(web): timezone selector unexpected closes the popup (#1234)
Browse files Browse the repository at this point in the history
  • Loading branch information
airslice authored Nov 8, 2024
1 parent 3d0f736 commit cb0fe8d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/src/beta/ui/fields/TimePointField/EditPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ const EditPanel: FC<Props> = ({ onChange, onClose, value }) => {
</Wrapper>
<Wrapper>
<Label>{t("Time Zone")}</Label>
<InputWrapper>
<InputWrapper
onMouseDown={(e) => {
e.stopPropagation();
}}
>
<Selector
value={timezone}
options={TIMEZONE_OFFSETS.map((offset) => ({
Expand Down

0 comments on commit cb0fe8d

Please sign in to comment.