I'm using the following:
Angular 11.2.11
ES modules 4.19.1
I'm trying to get a sample working of our map component library (originally done in Angular 9 and using esri-loader). For now, I have the code from the Intro to MapView - Create a 2D map sample hardcoded into the library. When I run the app locally (built library and ng serve), I get an automatic scroll of the map. The console also shows WebGL errors. Any ideas what's causing this?

I tried the Angular sample from the Esrt reources github and that runs correctly on its own.