Strange overlay issue
See original GitHub issueIn my app I’m getting an issue when selecting large images, where the crop doesn’t match the highlight:
I have set:
.ReactCrop--image {
max-width: 100%;
}
…and have tried all sorts of combinations for crop params. Also, how do I go about selecting the default selected crop to be either 100% of width (if portrait) or 100% of height (if landscape) and keeping the aspect ratio 1/1 (square)?
Issue Analytics
- State:
- Created 8 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Weird overlay on applications - Microsoft Community
Whenever I open some specific applications, weird lines appear over them. I am attaching a screenshot for reference.
Read more >Overlay Issue - Android Forums at AndroidCentral.com
Hello, I have been struggling to an overlay issue where, whenever I open a game there is a weird overlay on the left...
Read more >[question] Strange overlay bug? Can't move the ... - Reddit
Can't move the overlay any higher than this and it sometimes disappears off the bottom of the screen (audio keeps playing), ie overlay...
Read more >How to Fix Screen Overlay Error on Android - YouTube
Experiencing annoying “screen overlay ” errors on your Android device? Watch this video to learn how to fix Android screen overlay errors.
Read more >[SOLVED] Strange overlay bug - MCreator
Hello, I have a problem with overlay. For no reason, it's completly poorly ... Overlay in editor, just a regular 32*18px imageOverlay in-game....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The library doesn’t have any code for upload. Although you could pick up the base64 and send it for S3. Take this as an example
Please note than my crop object contains the
originalImageWidth
andoriginalImageHeight
so you need to workout those yourself, also it might contain amaxWidth
and amaxHeight
and here’s my code for the upload of the base64
as an action I have
and in the store I have
Let me know if you want the backend code as well, I’m happy to share it
If you’re doing cropping on the frontend you should really keep the image info.