CoastalResilienceNetwork / GeositeFramework

Mapping Framework powering TNC Coastal Resilience programs
http://maps.coastalresilience.org/network/
GNU General Public License v3.0
13 stars 10 forks source link

Basemap Chrome Issue on Mobile #1137

Closed laflessn closed 5 years ago

laflessn commented 5 years ago

Confirmed on several mobile OS that you're unable to pan or pinch zoom on esri basemaps using chrome browser. This is a new issue. Is this related to the chrome js fix that was recently implemented?

caseycesari commented 5 years ago

Hi @laflessn, I'm unable to reproduce this. Can you provide a site (or sites) where this is happening? And perhaps what device(s) you tested it with? Thanks!

laflessn commented 5 years ago

I have a google pixel android device and this is an issue using Chrome on all base maps on coastal resilience super web app sites. However, this wasn't always an issue ... that's why I suspect whatever update we did to fix the JS chrome bug may have broken something else. This occurs on maps.coastalresilience.org/hawaii and maps.coastalresilience.org/indonesia. However, the basemaps are functional on same device using firefox.

mmcfarland commented 5 years ago

Tested this with 3 versions of Android devices, including a Google Pixel and haven't been able to reproduce the issue described. Chrome versions 69 & 70.

caseycesari commented 5 years ago

@laflessn Given what @mmcfarland mentioned above, would you mind testing this again to see if a recent update to the framework happened to fix this issue? Thanks.

laflessn commented 5 years ago

Confirmed that it's still an issue on Android 9.0 Pixel Build/PPR2 using Chrome 69. Works fine on firefox on same device. I'm testing on http://maps.coastalresilience.org/hawaii/ and http://maps.coastalresilience.org/indonesia

mmcfarland commented 5 years ago

I've been able to reproduce this on a new Android 9.0 Pixel 3 Build/PD1A using Chrome 70. Firefox works on the same device.

mmcfarland commented 5 years ago

This doesn't appear to be related to the esri jsapi version. The pinch-zoom does not work on the previous version 3.15 (http://maps.coastalresilience.org/connecticut/) or the latest version 3.25 (http://maps.coastalresilience.org/Indonesia/).

It must be specific to the phone/browser version.

mmcfarland commented 5 years ago

This stock esri sample also works correctly on the same device where the it does not on the TNC sites

https://developers.arcgis.com/javascript/3/samples/exp_history/

Note the esri js api version is 3.26 in this example.

mmcfarland commented 5 years ago

3.26 changelog:

BUG-000116101: Fixed an issue when using a touch device and panning in Google Chrome browser using Android 9 OS did not work.

https://developers.arcgis.com/javascript/3/jshelp/whats_new.html

I'll try updating the bundle version.