Skip to content

Commit b127760

Browse files
authored
Utilize ref in Toaster (#536)
1 parent edc615f commit b127760

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ const Toaster = forwardRef<HTMLElement, ToasterProps>(function Toaster(props, re
643643
return (
644644
// Remove item from normal navigation flow, only available via hotkey
645645
<section
646+
ref={ref}
646647
aria-label={`${containerAriaLabel} ${hotkeyLabel}`}
647648
tabIndex={-1}
648649
aria-live="polite"

0 commit comments

Comments
 (0)