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

对于动态append to body的元素处理失效 #12

Closed
bigmeow opened this issue Aug 22, 2023 · 1 comment
Closed

对于动态append to body的元素处理失效 #12

bigmeow opened this issue Aug 22, 2023 · 1 comment

Comments

@bigmeow
Copy link

bigmeow commented Aug 22, 2023

在 ant mobile 中的 Dialog 组件,使用后会将弹窗 append 到 body 根元素, 此时 maxDisplayWidth 选项对 dialog 组件不生效,窗口变宽弹窗也会变大, 这种情况如何处理

image
@bigmeow
Copy link
Author

bigmeow commented Aug 22, 2023

是 umi 的编译缓存问题

@bigmeow bigmeow closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant