ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

the args of `notification.useNotification` is not work.

Open Dedicatus546 opened this issue 1 year ago • 2 comments
trafficstars

  • [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 still 24px , but the source code is 80px.

What is expected?

top's value should be 80px .

What is actually happening?

top's value is still 24px .

Dedicatus546 avatar Oct 14 '24 07:10 Dedicatus546

it seems like that Holder's props lack some properties.

image

image

the top property can be found in attrs.

image

but getStyles would check the props.top instead of attrs.top.

image

the notification's static method doesn't have this problem.

Dedicatus546 avatar Oct 14 '24 07:10 Dedicatus546

btw, i found that the icons from notification.info and notification.useNotification are not same.

image

is it intentional?

Dedicatus546 avatar Oct 14 '24 07:10 Dedicatus546

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

github-actions[bot] avatar Dec 25 '24 02:12 github-actions[bot]