-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
feat: prew预览参数增加dragRebound属性,控制是否回弹到屏幕中心 #216
Comments
keyus
pushed a commit
to keyus/image
that referenced
this issue
Apr 7, 2023
Wxh16144
pushed a commit
to Wxh16144-forks/image
that referenced
this issue
Apr 7, 2023
…react-component#216) (cherry picked from commit 670d175) # Conflicts: # src/Image.tsx # src/Preview.tsx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https:/ant-design/ant-design/issues/41652
1.Preview组件 props 增加dragRebound属性:
dragRebound?: boolean;
2.Operations组件 , tools新增一个刷新图标:
{ icon: refresh, onClick: onRefresh, type: 'refresh', },
用于控制图片回到屏幕中心,旋转角度重置为0,缩放大小重置,以及左右切换重置。
The text was updated successfully, but these errors were encountered: