Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/common/ConfirmDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const ConfirmDialog = ({
isOpen
leastDestructiveRef={leastDestructiveRef}
onClose={() => callback(false)}
preserveScrollBarGap={false}
>
<AlertDialogOverlay>
<AlertDialogContent>
Expand Down
1 change: 1 addition & 0 deletions src/common/GenericDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const GenericDialog = ({
size={size}
returnFocusOnClose={returnFocusOnClose}
finalFocusRef={finalFocusRef}
preserveScrollBarGap={false}
>
<ModalOverlay>
<ModalContent minWidth="560px" my="auto">
Expand Down
2 changes: 1 addition & 1 deletion src/common/InputDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const InputDialog = <T,>({
};

return (
<Modal isOpen onClose={onCancel} size={size} finalFocusRef={finalFocusRef}>
<Modal isOpen onClose={onCancel} size={size} finalFocusRef={finalFocusRef} preserveScrollBarGap={false}>
<ModalOverlay>
<ModalContent>
<ModalHeader>
Expand Down
1 change: 1 addition & 0 deletions src/common/ProgressDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const ProgressDialog = ({
onClose={doNothing}
isCentered
size={body ? "xl" : "md"}
preserveScrollBarGap={false}
>
<ModalOverlay />
<ModalContent>
Expand Down
1 change: 1 addition & 0 deletions src/serial/SerialHelp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const SerialHelpDialog = ({
onClose={onClose}
size="lg"
finalFocusRef={finalFocusRef}
preserveScrollBarGap={false}
>
<ModalOverlay>
<ModalContent>
Expand Down
1 change: 1 addition & 0 deletions src/settings/LanguageDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export const LanguageDialog = ({
onClose={onClose}
size="xl"
finalFocusRef={finalFocusRef}
preserveScrollBarGap={false}
>
<ModalOverlay>
<ModalContent>
Expand Down
1 change: 1 addition & 0 deletions src/settings/SettingsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const SettingsDialog = ({
onClose={onClose}
size="lg"
finalFocusRef={finalFocusRef}
preserveScrollBarGap={false}
>
<ModalOverlay>
<ModalContent>
Expand Down
1 change: 1 addition & 0 deletions src/workbench/AboutDialog/AboutDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const AboutDialog = ({ isOpen, onClose, finalFocusRef }: AboutDialogProps) => {
onClose={onClose}
size="4xl"
finalFocusRef={finalFocusRef}
preserveScrollBarGap={false}
>
<ModalOverlay>
<ModalContent>
Expand Down
1 change: 1 addition & 0 deletions src/workbench/FeedbackForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const FeedbackForm = ({
onClose={onClose}
size="2xl"
finalFocusRef={finalFocusRef}
preserveScrollBarGap={false}
>
<ModalOverlay>
<ModalContent>
Expand Down
1 change: 1 addition & 0 deletions src/workbench/SideBarHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ const SideBarHeader = ({
isOpen={searchModal.isOpen}
onClose={handleModalClosed}
size="lg"
preserveScrollBarGap={false}
>
<ModalOverlay>
<ModalContent
Expand Down
1 change: 1 addition & 0 deletions src/workbench/WelcomeDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const WelcomeDialog = ({ youtubeId, isOpen, onClose }: WelcomeDialogProps) => {
onClose={onClose}
size="2xl"
scrollBehavior="outside"
preserveScrollBarGap={false}
>
<ModalOverlay>
<ModalContent>
Expand Down
Loading