@@ -510,30 +510,30 @@ function PlantModal(props: ModalOverlayProps) {
510
510
${ isExiting ? 'animate-out fade-out duration-200 ease-in' : '' }
511
511
` } >
512
512
{ ( { isEntering, isExiting} ) => ( < >
513
- { ! isResized &&
514
- < div
515
- data-react-aria-top-layer = "true"
516
- className = { `fixed top-0 left-0 w-full h-(--visual-viewport-height) z-30 hidden sm:flex items-center justify-center pointer-events-none [filter:drop-shadow(0_0_3px_white)] dark:filter-none
517
- ${ isEntering ? 'animate-in zoom-in-105 ease-out duration-200' : '' }
518
- ${ isExiting ? 'animate-out zoom-out-95 ease-in duration-200' : '' }
519
- ` } >
520
- < svg viewBox = "0 0 700 620" width = { 700 } height = { 620 } >
521
- < Arrow textX = { 52 } x1 = { 88 } x2 = { 130 } y = { 50 } href = "Dialog.html" > Dialog</ Arrow >
522
- < Arrow textX = { 34 } x1 = { 88 } x2 = { 150 } y = { 150 } href = "DropZone.html" > DropZone</ Arrow >
523
- < Arrow textX = { 54 } x1 = { 88 } x2 = { 150 } y = { 272 } href = "Select.html" > Select</ Arrow >
524
- < Arrow textX = { 32 } x1 = { 88 } x2 = { 150 } y = { 492 } href = "DatePicker.html" > DatePicker</ Arrow >
525
- < Arrow textX = { 616 } x1 = { 550 } x2 = { 612 } y = { 126 } marker = "markerStart" href = "ComboBox.html" > ComboBox</ Arrow >
526
- < Arrow textX = { 616 } x1 = { 550 } x2 = { 612 } y = { 198 } marker = "markerStart" href = "TextField.html" > TextField</ Arrow >
527
- < Arrow points = "560,90 590,90 590,338 612,338 590,338 590,585 560,585" textX = { 616 } y = { 338 } marker = "none" href = "Form.html" > Form</ Arrow >
528
- </ svg >
529
- </ div >
530
- }
531
513
{ /* Inner position: sticky div sized to the visual viewport
532
514
height so the modal appears in view.
533
515
Note that position: fixed will not work here because this
534
516
is positioned relative to the containing block, which is
535
517
the ModalOverlay in this case due to backdrop-blur. */ }
536
518
< div className = "sticky top-0 left-0 w-full h-(--visual-viewport-height) flex items-center justify-center p-4 text-center" >
519
+ { ! isResized &&
520
+ < div
521
+ data-react-aria-top-layer = "true"
522
+ className = { `absolute top-0 left-0 w-full h-(--visual-viewport-height) z-30 hidden sm:flex items-center justify-center pointer-events-none [filter:drop-shadow(0_0_3px_white)] dark:filter-none
523
+ ${ isEntering ? 'animate-in zoom-in-105 ease-out duration-200' : '' }
524
+ ${ isExiting ? 'animate-out zoom-out-95 ease-in duration-200' : '' }
525
+ ` } >
526
+ < svg viewBox = "0 0 700 620" width = { 700 } height = { 620 } >
527
+ < Arrow textX = { 52 } x1 = { 88 } x2 = { 130 } y = { 50 } href = "Dialog.html" > Dialog</ Arrow >
528
+ < Arrow textX = { 34 } x1 = { 88 } x2 = { 150 } y = { 150 } href = "DropZone.html" > DropZone</ Arrow >
529
+ < Arrow textX = { 54 } x1 = { 88 } x2 = { 150 } y = { 272 } href = "Select.html" > Select</ Arrow >
530
+ < Arrow textX = { 32 } x1 = { 88 } x2 = { 150 } y = { 492 } href = "DatePicker.html" > DatePicker</ Arrow >
531
+ < Arrow textX = { 616 } x1 = { 550 } x2 = { 612 } y = { 126 } marker = "markerStart" href = "ComboBox.html" > ComboBox</ Arrow >
532
+ < Arrow textX = { 616 } x1 = { 550 } x2 = { 612 } y = { 198 } marker = "markerStart" href = "TextField.html" > TextField</ Arrow >
533
+ < Arrow points = "560,90 590,90 590,338 612,338 590,338 590,585 560,585" textX = { 616 } y = { 338 } marker = "none" href = "Form.html" > Form</ Arrow >
534
+ </ svg >
535
+ </ div >
536
+ }
537
537
< RACModal
538
538
{ ...props }
539
539
ref = { ref }
0 commit comments