Ashish Rawat

Results 6 comments of Ashish Rawat

This issue occurred for me also, when I try to upload same small file size (around 10-30KB) multiple times.

I found the solution. Add `this.crossOrigin = 'anonymous'` here: https://github.com/iddan/react-native-canvas/blob/master/src/Image.js#L23 and make sure the server from you're requesting images will have CORS enabled. Unfortunately setting `crossOrigin` on initialized `Image` constructor...

Until this is fixed, there is an alternative solution using @floating-ui lib combined with this plugin. Here's the sample implementation: ```js import { useFloating, FloatingPortal, autoPlacement, offset, flip, shift, }...

Yes custom server is the problem hot reload not working with latest next.js version. But it's a requirement as middleware doesn't support node runtime.

Edit: I found the solution. In onDragOver, any state update you make, wrap it inside `startTransition` or `requestAnimationFrame`. `startTransition` is native way by react though So, here's my demo. In...

Any update on this.