This repository is linked to this issue: sherweb/ngx-materialize#194
Instructions:
git clone https://github.com/xals/angular-materialize
cd angular-materialize
yarn install
yarn dev
Then connect to http://localhost:8080 and click on button with console opened to reproduce the issue.