yellowQ-software / yellowQ-Flutter-Image-Painter

Flutter package for painting on images
MIT License
106 stars 117 forks source link

SCROLLING ISSUE #14

Closed truly6ve closed 2 years ago

truly6ve commented 2 years ago

Hi,

I have an issue in scrolling while using this widget in my project. It all worked fine but when I start dragging it using mouse, it scrolls the whole screen. Please check the attached git. I am also using the other package for signatures and there is no issue in that one and it worked all fine but this one is not working fine.

https://user-images.githubusercontent.com/72092249/139265428-fde52bea-0764-45e9-bc0f-dbbb1807eb7f.mov

lively-bigyan commented 2 years ago

Hi @truly6ve . Thank you for opening up the issue. As of now, this library is made to work outside of the scrollable area. I would suggest you either make a boolean flag that enables edit and disables scroll physics while the flag is enabled. You can disable that after the user presses "Done" somewhere in the UI. But the better implementation would be to allow edit on a dialog and after completion, get back the result from the dialog and display it on UI. I will work on the scrolling issue and see if I can do anything about it while you can implement workarounds for now.