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

设置 draggable="false" 属性没有透传给 img 标签 #121

Closed
kkaaddff opened this issue Jul 15, 2022 · 2 comments
Closed

设置 draggable="false" 属性没有透传给 img 标签 #121

kkaaddff opened this issue Jul 15, 2022 · 2 comments

Comments

@kkaaddff
Copy link
Contributor

kkaaddff commented Jul 15, 2022

当想设置图片不可拖放时,给 Image 标签增加的 draggable="false" 属性会被 加到 div 上去
现状:

<div draggable="false" class="ant-image">
  <img class="ant-image-img" src="***" >
</div>

期望:

<div class="ant-image">
  <img draggable="false" class="ant-image-img" src="***  >
</div>
@afc163
Copy link
Member

afc163 commented Jul 15, 2022

PR welcome

@kkaaddff
Copy link
Contributor Author

kkaaddff commented Jul 15, 2022

PR welcome

#122 😄

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

2 participants