We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前我看了下,resizeToOriginalSize这个实际作用是恢复到图片本身的大小,在图片大于屏幕的时候,点击这个就会使图片超出屏幕,和用户预期不太相符,希望是能够有一个按钮,能够支持图片恢复到刚打开预览组件的时候的大小,目前尝试了直接手动清除style样式,但是代码里的scale等属性没改变,那点击放大缩小还是会有问题
也就是ImagePreview.tsx这个文件里,希望能够增加个按钮支持上述功能,最起码也希望能够提供一个重置scale,rotate等变量的函数暴露出来
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题的清晰而简明的描述
目前我看了下,resizeToOriginalSize这个实际作用是恢复到图片本身的大小,在图片大于屏幕的时候,点击这个就会使图片超出屏幕,和用户预期不太相符,希望是能够有一个按钮,能够支持图片恢复到刚打开预览组件的时候的大小,目前尝试了直接手动清除style样式,但是代码里的scale等属性没改变,那点击放大缩小还是会有问题
建议的解决方案
也就是ImagePreview.tsx这个文件里,希望能够增加个按钮支持上述功能,最起码也希望能够提供一个重置scale,rotate等变量的函数暴露出来
备选方案
No response
附加上下文
验证
The text was updated successfully, but these errors were encountered: