Closed adamkoch closed 4 months ago
Okay, that's interesting because it seems like something with the SafeArea
is failing. In the discussion #68 I saw in your picture, it seems to be the same problem. Can you try two things now:
ProImageEditor
widget inside a SafeArea
.SystemUiOverlayStyle
. The easiest way to test this is to clone the example and try it there.SafeArea
here above the ScreenResizeDetector
here and try again.If nothing resolves this issue, I need to know the exact device model. But to be honest, if nothing fixes this, it looks like this is a problem with the flutter framework.
Thanks for the pointers. Will have a play and see what I can find with SafeArea
and ScreenResizeDetector
.
FWIW, I tested with pro_image_editor sample and it also has the same behaviour with the delete target. The device is iPhone 15 Pro simulator in landscape mode.
Can you point me to the code which has the delete drag target? I can have a play and see if I can work out what's wrong.
I think I found it: https://github.com/hm21/pro_image_editor/pull/79
Package Version
3.0.7-dev.1
Flutter Version
3.22.2
Platforms
iOS
How to reproduce?
Spotted another bug :) The delete drop target in the top left corner seems to be offset to the left on an iPhone with cutout. The actual icon is correct, just the drop target is offset.
This may help explain it better, the red box is where it seems I need to drag to in order to trigger delete (where the delete area turns red).
Logs (optional)
No response
Example code (optional)
No response
Device Model (optional)
No response