Comments (1)
感谢反馈,4.12.0
已更新,保持 beforeCrop
中代码即可。
beforeCrop
与 beforeUpload
行为将一致,在 beforeUpload
前执行,所以理论上 beforeUpload
中可以不用再判断 isPNG。
from antd-img-crop.
Related Issues (20)
- The image has lost its transparent background HOT 2
- useless Ok button when using tailwindcss HOT 1
- TS error TS2322 Type '{ children: Element }' is not assignable to type 'IntrinsicAttributes & ImgCropProps'. Property 'children' does not exist on type 'IntrinsicAttributes & ImgCropProps'. HOT 1
- When crop a gif, it convert it to static picture HOT 1
- Upgrade dept
- Show crop modal only for case when image did not pass validation HOT 4
- ImageCrop not working with beforeUpload={() => false} HOT 1
- 选择一张背景背景透明的图片,最后背景变成了白色 HOT 1
- Image Upload Persists Despite Cancel HOT 1
- beforeCrop 返会false后,beforeUpload不再执行 HOT 1
- 为啥beforeCrop这个函数return file在不同环境下表现不一致
- 建议zoomSlider、rotationSlider、aspectSlider分别都添加一个步进参数,每点击一下,可步进多少 HOT 1
- 使用antd": "4.22.4", 剪裁弹窗点击取消后仍然会触发onChange事件进行上传操作 HOT 4
- Is there a way to move the crop square over the image/canvas. Rather than zooming into the image and then moving it HOT 1
- How do i send a resized image to the cropper ? HOT 1
- ShadowDom wrapper HOT 2
- beforeUpload 返回了false,但依然发起上传 HOT 9
- 开发环境下,beforeCrop返回false会停止上传,生产环境下,返回false会继续执行上传
- next.js 中 modal 取消还是会发起上传请求,onModalCancel resolve 并没有效果 HOT 1
- ConfigProvider not work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antd-img-crop.