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

[Image] 属性 referrerpolicy 不生效 #2810

Closed
anming-john opened this issue Mar 21, 2024 · 4 comments
Closed

[Image] 属性 referrerpolicy 不生效 #2810

anming-john opened this issue Mar 21, 2024 · 4 comments
Labels
improvement to be published fixed, not be published

Comments

@anming-john
Copy link

tdesign-react 版本

1.4.2

重现链接

No response

重现步骤

从代码中发现, 并不支持传入这个属性
企业微信截图_369d20ac-e9d0-41c3-b79d-f2c8ebe498b6

代码中

企业微信截图_c6f6c404-6305-441e-9b2e-37e47d094ffd

期望结果

希望能支持

实际结果

不支持

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @anming-john,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anming-john
Copy link
Author

同理, ImageViewer 也存在这个问题

@HaixingOoO
Copy link
Collaborator

同理, ImageViewer 也存在这个问题

好的👌

@NWYLZW
Copy link
Collaborator

NWYLZW commented Mar 21, 2024

同理, ImageViewer 也存在这个问题

ImageViewer 在文档中并没有提到支持 referrerpolicy,这个可能需要讨论一下设计,看看参数应该加在哪里。
这个问题暂时只关联 Image 组件吧,如果对 ImageViewer 有添加这个参数的需求,可以另外发一个 feature request issue,我们另外跟进这个问题。

HaixingOoO pushed a commit that referenced this issue Mar 21, 2024
…2811)

* fix(image): forget pass referrerpolicy to real image tag props #2810

* fix(image): typo
@HaixingOoO HaixingOoO added to be published fixed, not be published and removed pr welcome labels Mar 21, 2024
@uyarn uyarn changed the title [Image] 属性 referrerpolicy 不生效,看了下代码, 并没有支持这个传入到img 中 [Image] 属性 referrerpolicy 不生效 Mar 28, 2024
@uyarn uyarn closed this as completed Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

4 participants