kingy68/esri-javascript-draw-4

Draw not starting in IE on first click

Opened this issue · 1 comments

Sometimes the draw does not begin on the first mouse click in Internet Explorer. It takes another mouse click to engage the drawing.

It seems to work sometimes, but I haven't been able to nail down why.

Yes, I've noticed this in other browsers too...

It seems to have something to do with the require taking too much time to get the needed classes...
I solved the problem in my app by pre-requiring the classes used by this library so they were already loaded.

It's not a complete solution but it works well enough for me...

I hope it helps,

Sam

Note: I would provide code but my project runs is an ES6 Webpack environment