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

[BUG] ImagePreview好像没法传递className #1657

Closed
1 task done
xmsz opened this issue Jun 12, 2023 · 1 comment · Fixed by #1659
Closed
1 task done

[BUG] ImagePreview好像没法传递className #1657

xmsz opened this issue Jun 12, 2023 · 1 comment · Fixed by #1659
Assignees

Comments

@xmsz
Copy link

xmsz commented Jun 12, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Which Component

ImagePreview

Semi Version

new

Current Behavior

<ImagePreview className="a"/>
  • 没有效果
  • 我看源码好像也没有把className追加上
  • style倒是有生效

Expected Behavior

No response

Steps To Reproduce

No response

ReproducibleCode

No response

Environment

- OS:
- browser:

Anything else?

No response

@YyumeiZhang YyumeiZhang self-assigned this Jun 12, 2023
@YyumeiZhang
Copy link
Collaborator

确实代码里面只将 style 传入了,没有把 className 传入,是个 bug,修复跟版本v2.38.0-beta.0,预计2023.06.19

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

Successfully merging a pull request may close this issue.

2 participants