Click on button with ngf-select no longer working in latest Chrome

Author: adamreisnzCreated Aug 8, 2020Updated Nov 30, 2022

This used to work fine for years, but appears to have stopped working. Clicking on a button with ngf-select doesn't work anymore (doesn't do anything).

I've traced to where it gets, and it does reach fileElem[0].click(); but it appears that click action is no longer being accepted or allowed by Chrome.

<button class="Button Button--success" ng-model="$ctrl.file" ngf-select="$ctrl.selectedFile($file)" ngf-accept="text/csv" ngf-pattern=".csv">
  <i class="Icon">file_upload</i> Choose a file
</button>

This code has previously worked, and hasn't changed since.

Latest version, 12.2.13.

Source: danialfarid/ng-file-upload