Select to view content in your preferred language

Zoom Buttons Not Functioning with @arcgis/core 4.29.10 on Angular

651
1
03-21-2024 10:49 AM
VitaliyLihitskiy
New Contributor

Hi,

I hope this message finds you well. I'm writing to report an issue we've encountered with the zoom buttons when using npm @ArcGIS/core version 4.29.10 in an Angular project.

Description: I have a code example, if you open page buttons maybe will work but if you reload a page into the example, not the browser, zoom buttons stop working anymore, In my project, it's not working almost. Also into CodePane examples where we directly inject arcgis by script tag, those zoom buttons work correct

Example Code: To demonstrate the problem, please refer to the following StackBlitz example: Zoom Buttons Issue - StackBlitz

Video from StackBlitz:

 

Video from my project: 

This issue significantly impacts our project's functionality and usability. Any insights or assistance you can provide would be greatly appreciated.

Thank you for your attention to this matter.

 

Best regards,

0 Kudos
1 Reply
AndyGup
Esri Regular Contributor

Thanks for StackBlitz. See the discussion here for more information on this Angular bug and our suggested (potential) workaround: https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-buttons-don-t-work-in-angula...