We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 186da40 + 219030f commit d897ad8Copy full SHA for d897ad8
site/pages/docs/use-toaster.mdx
@@ -92,7 +92,7 @@ const Notifications = () => {
92
});
93
94
const ref = (el) => {
95
- if (el && !toast.height) {
+ if (el && typeof toast.height !== "number") {
96
const height = el.getBoundingClientRect().height;
97
updateHeight(toast.id, height);
98
}
0 commit comments