ant-design-vue
ant-design-vue copied to clipboard
the args of `notification.useNotification` is not work.
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.5
Environment
latest version
Reproduction link
https://github.com/Dedicatus546/ant-design-vue-notification-bug-report
Steps to reproduce
steps:
- start dev server.
top's value is still24px, but the source code is80px.
What is expected?
top's value should be 80px .
What is actually happening?
top's value is still 24px .
it seems like that Holder's props lack some properties.
the top property can be found in attrs.
but getStyles would check the props.top instead of attrs.top.
the notification's static method doesn't have this problem.
btw, i found that the icons from notification.info and notification.useNotification are not same.
is it intentional?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days