Skip to content

Commit c3f8be3

Browse files
committed
update initialFocus
1 parent 11cbc9a commit c3f8be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compass-import-export/src/components/export-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ function ExportModal({
250250
open={isOpen}
251251
setOpen={closeExport}
252252
data-testid="export-modal"
253-
initialFocus={`#${codeElementId}`}
253+
initialFocus={exportFullCollection ? undefined : `#${codeElementId}`}
254254
>
255255
<ModalHeader
256256
title="Export"

0 commit comments

Comments
 (0)