diff --git a/packages/components/notification/src/notify.ts b/packages/components/notification/src/notify.ts index 9046adb603..1e3ab9bfba 100644 --- a/packages/components/notification/src/notify.ts +++ b/packages/components/notification/src/notify.ts @@ -50,8 +50,8 @@ const notify: NotifyFn & Partial & { _context: AppContext | null } = const id = `notification_${seed++}` const userOnClose = options.onClose const props: Partial = { - ...options, zIndex: nextZIndex(), + ...options, offset: verticalOffset, id, onClose: () => {