Select to view content in your preferred language

How to make draw widget not delete my drawings without my permission?

320
3
06-10-2024 02:24 PM
DanCopKac
Regular Contributor

When using the draw widget, my drawings will sometimes delete themselves entirely and leave me with a fresh page without any drawings, losing me lots of work, effort, and time. I've found that this usually happens when I'm multitasking and I try to move windows around to view some documentation, or move my browser window with Experience Builder to another screen to see the app behind the browser window, etc. I come back to the app and suddenly, all my drawings are gone. 

Is there a toggle or setting that can make the widget preserve my drawings UNLESS the user actually chooses to delete them, instead of deleting drawings randomly? 

0 Kudos
3 Replies
kaifeiji
Occasional Contributor

Does the draw widget in a controller?

I guess the reason is that the browser window becomes smaller when dragging between screens.

0 Kudos
MattiasEkström
Frequent Contributor

Did some testing on this, it seems that when the browser window width is changed to make the application switch between small, medium or large screen mode, all the drawings disappear. This is of course something that Esri has to fix, we can't have it that way.

0 Kudos
DanCopKac
Regular Contributor

Is there a way I can make it not do this? I think this is critical and makes it pretty much unusable unless I want executives screaming at my me when they encounter this issue in my app. 

0 Kudos