I have created one spfx extension of type application customizer. I have attached click event to setting icon span.But when I click on setting icon it does not get fired.
This is working fine in Chrome, Firefox,IE edge but not working in IE 11,
Following is the code..
const settingIcon = document.getElementsByClassName(SETTINGS_ICON)[0];
if (settingIcon != null) {
settingIcon.addEventListener("click", ()=> {
alert('Hi')
});
Thank you.