From ecfa1690aab49830cd07f16ba49c246803e21305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=B3=E5=BB=B7=E5=AE=89?= <73953029+nrps9909@users.noreply.github.com> Date: Thu, 27 Aug 2026 11:50:38 +0800 Subject: [PATCH] fix: prevent notification close buttons from submitting forms --- src/Notification.tsx | 1 + tests/index.test.tsx | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/Notification.tsx b/src/Notification.tsx index 2402241..d7c5c28 100644 --- a/src/Notification.tsx +++ b/src/Notification.tsx @@ -269,6 +269,7 @@ const Notification = React.forwardRef((props, {mergedClosable && (