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

Watermark在Safari浏览器上面无效 #49006

Closed
cdx111 opened this issue May 21, 2024 · 8 comments
Closed

Watermark在Safari浏览器上面无效 #49006

cdx111 opened this issue May 21, 2024 · 8 comments

Comments

@cdx111
Copy link

cdx111 commented May 21, 2024

Reproduction link

https://ant.design/components/watermark-cn

Steps to reproduce

用Safari浏览器打开就可以看到没有水印效果

What is expected?

正常显示水印

What is actually happening?

没有正常显示水印

Environment Info
antd 5.17.3
React 18
System macos
Browser 版本15.6.1 (15613.3.9.1.16, 15613)
@zombieJ
Copy link
Member

zombieJ commented May 21, 2024

https://ant-design.antgroup.com/components/watermark-cn 用国内镜像访问,展示不出来应该是网络资源请求挂哈~

@zombieJ zombieJ closed this as completed May 21, 2024
@cdx111
Copy link
Author

cdx111 commented May 21, 2024

https://ant.design/components/watermark-cn

这个跟网络资源没有关系是一个bug,你可以用Safari浏览器打开看看
image

@cdx111
Copy link
Author

cdx111 commented May 21, 2024

Safari 版本15.6.1 (15613.3.9.1.16, 15613)

@cdx111
Copy link
Author

cdx111 commented May 21, 2024

目前看来是跟默认rotate的angle有关系,但是其他浏览器并没有发现这个问题

@yoyo837
Copy link
Contributor

yoyo837 commented May 21, 2024

17 下是好的,蹲个15的版本...

@cdx111
Copy link
Author

cdx111 commented May 21, 2024

17 下是好的,蹲个15的版本...

我发现跟rotate角度有关系,如果是0就没有问题

@cdx111
Copy link
Author

cdx111 commented May 21, 2024

目前加个width解决了问题

@zombieJ
Copy link
Member

zombieJ commented May 22, 2024

怪不得我这边复现不出来,Safari bug fix 跟着系统走。这应该是很难去修了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants