Valentin Hervieu

Results 279 comments of Valentin Hervieu

This is not possible and this is actually not the philosophy of this library. What you are looking for is done by https://www.npmjs.com/package/react-image-crop 🙂

There is no such option currently. I'd gladly accept a PR that would add such an option. For example, we could have a boolean option like `keepImageInCropAreaWhenRotated` 😅 This is...

For most computations, we use `this.mediaSize` like here: https://github.com/ricardo-ch/react-easy-crop/blob/main/src/index.tsx#L544 Otherwise, you can use `this.imageRef.getBoundingClientRect`.

I like this idea! The only thing that I want to be sure though is that it doesn't increase too much the bundle size. But if it's part of another...

For the reasons explained by @iainmerrick and @aexol we were actually not able to use either `enum` or `const enum` on our project. To avoid this, we patched this part...

What are the breaking changes on aliases and variables? It would greatly help people migrating if there was a short explanation about these changes 🙂

We are using Zeus heavily on our codebase with a patch to use `null` for nullable values. I don't understand what do you mean by "much easier"?

@aexol for your example, if I need to insert something from the frontend, let's say a user, each field will be optional because `ValueTypes` is used: Data returned by the...

@aexol would you accept a PR where we enable this to be configured via a flag? I've been maintaining a fork of v4 for a few months and most changes...

I've missed this issue 3 months ago. Indeed this should be pretty simple to handle this as part of the library. This behavior is actually a bug. However, I'll probably...