Comments (12)
@dimpyvirk Can you duplicate the behavior using this sample app in tablet or mobile mode? https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=intro-mapview.
If the sample app works then the ArcGIS API for JavaScript is most likely not the issue. Usually these issues are related to CSS problems such as a DIV obscuring the map.
Be sure to update the CSS to the corresponding ArcGIS JS API version. Also note, 4.15 is the latest API version: https://www.npmjs.com/package/@arcgis/webpack-plugin
from angular-cli-esri-map.
@andygup the javascript code works fine https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=intro-mapview.
The issue comes when running with angular. It works fine on Mozilla (in tablet) but not on chrome.
from angular-cli-esri-map.
Interesting, it could be a zone.js issue. It works on my machine with "zone.js": "~0.10.2"
- Did you try with ArcGIS JS API 4.15?
- Which version of zone.js? Angular? Chrome?
from angular-cli-esri-map.
Closing, no activity.
from angular-cli-esri-map.
I noticed this problem emerged when upgrading from API 4.13 to 4.14. Seems to be related to this "Embedded map navigation enhancements" introduced in 4.14 as stated here since when pan fails the window is actually scrolled.
I tryied forcing my "zone.js" to "0.10.2" but the issue persists. I'm trying to tweak a workaround on this, otherwise am stuck with 4.13. Any help on this would be much appreciated.
from angular-cli-esri-map.
I noticed this problem emerged when upgrading from API 4.13 to 4.14. Seems to be related to this "Embedded map navigation enhancements" introduced in 4.14 as stated here since when pan fails the window is actually scrolled.
I tryied forcing my "zone.js" to "0.10.2" but the issue persists. I'm trying to tweak a workaround on this, otherwise am stuck with 4.13. Any help on this would be much appreciated.
@joaopaschoal can you try 4.16?
from angular-cli-esri-map.
@dimpyvirk , I've already tryied the latest 4.17 and the problem is still. Anyhow I've just tryied esri-loader 2.15.0 which ships with api 4.16 with no success. Have you ever managed to workaround this?
from angular-cli-esri-map.
@joaopaschoal what is your dojo version?
from angular-cli-esri-map.
@joaopaschoal we'll also need the following info, thanks:
- Device make/model
- OS version
- Browser and version
from angular-cli-esri-map.
@dimpyvirk I belive Esri API uses dojo v5.0.4 since API v4.12, as noted here.
@andygup my current environment is:
- Windows 10 x64
- Angular CLI: 7.3.10
- Node: 10.20.1
- Device: You can reproduce it directly from Chrome Dev Tools (toggle device mode) but it also happened in all Android devices we have tested so far :( take mine for instance: Xiaomi Redmi 4 Pro - Android 6.0.1 - MIUI Global 10.2.2.0.
- Browser: Google Chrome 86.0.4240.75 64 bit
Thank you guys so much for any help, if there is anything I can do to assist or additional info I'll be glad to provide it.
from angular-cli-esri-map.
@joaopaschoal thanks for the info. My first suggestion is to build this webpack branch of the repo and see if you have the same issues. Clone and npm install shouldn't take long.
It's possible Angular 7 is the culprit, it's a little over 2 years old now. This repo is using Angular 10. I tested it okay on an Android Pixel 2 - Android 11 - Chrome 86.
from angular-cli-esri-map.
I've managed to isolate the problem, it was just a silly mistake of mine: I've found the imported css was still pointing to v4.13 (doh!)
@dimpyvirk , in case you are still stuck with this issue, make sure to also upgrade the css url. Mine seems stable now.
Thanks one more time for valuable help :) and sorry for this silly mistake.
from angular-cli-esri-map.
Related Issues (20)
- `Unhandled Promise rejection` errors are thrown on SceneView panning and zooming HOT 1
- `Unhandled Promise rejection` errors are thrown when adding basemaps to existing BasemapGalleryWidget HOT 4
- Repo retirement notice for 4.22 HOT 1
- esri-view not working when used height=100% HOT 5
- esriSignInDialog broken in JS API 4.15 using the Angular CLI and esri-loader HOT 3
- Popup template format not working HOT 2
- Document handling change detection in Angular components HOT 1
- "Cannot read property 'processors' of undefined" when using FeatureLayer, Angular 10 HOT 4
- Destroying the map - memory leak HOT 2
- Creating a Search Widget in Angular with No Map HOT 4
- click event hitTest() result undefined HOT 9
- Document using local css and workers
- Error upgrading to v 4.17 HOT 10
- Error on executing npm install command for ESRI webPack HOT 2
- ENOENT: no such file or directory HOT 3
- Deprecation notice - update repo for ArcGIS JS API ES modules (beta) at 4.18 HOT 8
- Upgrade to 4.12 fails in IE11 HOT 7
- Where is urlUtils imported from? HOT 4
- Uncaught ReferenceError: __esri is not defined HOT 5
- NgRx effects with QueryTask HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-cli-esri-map.