I recently upgraded our arcgis js package to 4.30 from 4.27.6, and now the Zoom buttons have stopped working.
I've also tried manually adding the zoom widget but that didn't fix the issue. I had a look at the examples on the arcgis js samples page and noticed they all use 4.30, yet zoom works there.
Any indication on what could be going on?
Did you also update the CSS to the matching version as well, just to eliminate any styling that might be interfering?
Yep i did, even created a brand new project from scratch to try and figure out whats going on, but cannot get it working.
Would you be able to post a codepen or similar recreating the issue?
Irony is we cannot replicate it on codepen or stackblitz. It seems to be limited to our codebase, but we cannot identify why.
Currently in process of refactoring to figure out what went wrong.
Hi
I recently switched over to 4.30 from 4.24 and the same thing happened to me too.
I ran through every version after 4.24 and it seem to start at 4.29.
The zoom widget would work as a stand-alone map. But when I build my map into Drupal on the fly with Angular, the zoom control and home widget stopped working altogether.
Is this similar to what's happening to you?
Pretty much except we use Angular, we created a new angular project and it works fine. So we rewritting entire app (taking advantage of some major improvements like signals)