Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modal的style中设置top无效 #2285

Closed
1 task
linziguan opened this issue May 23, 2020 · 4 comments
Closed
1 task

modal的style中设置top无效 #2285

linziguan opened this issue May 23, 2020 · 4 comments
Labels

Comments

@linziguan
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

undefined

Environment

win 10,chrome 70内核、vue 2

Reproduction link

Edit on CodeSandbox

Steps to reproduce

在modal组件中设置style,里面设置top,当model显示时,没有显示在指定位置

What is expected?

显示在top的指定位置

What is actually happening?

没有显示在指定位置

@tangjinzhou
Copy link
Member

使用 :wrapStyle="{ top: '20px' }" 替代

@linziguan
Copy link
Author

试了,也没生效:
https://codesandbox.io/s/vue-antd-template-3g2le?fontsize=14&hidenavigation=1&theme=dark

@linziguan
Copy link
Author

收到,感谢!求发小版本!

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants