Snapping in IE10 + IE11

4334
18
02-20-2014 12:07 AM
ØyvindIdland
New Contributor III
Hi,

we suddenly discovered that snapping doesn't work in either drawing or edit toolbars when using IE10. We are currently using 3.7, but doesn't seem to work with 3.8 either when trying that. I then tried using the official samples, and they seem to have the same problem.

Example (use CTRL to activate snapping):  http://developers.arcgis.com/javascript/samples/ed_selectionmode/

I then tried using the F12 development tools in IE, and forced the browser to version 9. This makes the snapping work again.

One workaround could be to force the browser to IE9 mode using meta tags, but that will break some HTML5 functionality in the application.

Anybody else having this issue ?
0 Kudos
18 Replies
ØyvindIdland
New Contributor III
This is still not working in 3.9, neither in my app or in the online examples:

http://developers.arcgis.com/javascript/samples/ed_selectionmode/



- Oyvind
0 Kudos
ChrisClose
New Contributor II
A workaround for this issue is to set the Compatibility View on the client:.

http://winaero.com/blog/how-to-enable-compatibility-view-in-internet-explorer-11-ie11/
0 Kudos
ReneRubalcava
Frequent Contributor
Are there any updates to this issue? Changing the compatibility mode isn't always an option on some embedded projects.
0 Kudos
JonathanUihlein
Esri Regular Contributor
It has been fixed internally for next release.

In the meantime, I was working on a 3.9 application level fix that I should probably share here.

Using the following sample:
http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=ed_selectionmode
https://developers.arcgis.com/javascript/jssamples/ed_selectionmode.html

Enter the following code before calling editorWidget.startup();

editorWidget._drawToolbar._mouse = true;


This may or may not work in all browser/device combinations but it seemed to do the trick for simple test cases.

Let me know if this helps at all.
0 Kudos
JoshHevenor
Occasional Contributor II

I see that 3.10 is out but I didn't see any mention of this. Is there a status update? 

0 Kudos
JonathanUihlein
Esri Regular Contributor

The fix may not have made the patch notes, but it should be in.

I can check on this further when I return from the UC.

Are you still having issues?

0 Kudos
JoshHevenor
Occasional Contributor II

I did a quick check of my project with the new API and the snapping looks like it works in IE11. Exciting!

0 Kudos
ØyvindIdland
New Contributor III
It has been fixed internally for next release. 
Let me know if this helps at all.


Hi Jon,

thanks! This works indeed for "esri/toolbars/draw" (by setting _mouse=true before i to activate() on it).


Is there an equivalent fix for "esri/toolbars/edit" too ?


- Oyvind
0 Kudos
ThomasLee1
New Contributor

+1

snapping for 'edit' tool doesn't work in IE 11. It works well in Chrome.

0 Kudos