Forum Discussion
Umag98
Jun 22, 2021Brass Contributor
custom teams App window.addEventListener not triggered
the below code work ffine when the browser reloaded , but not on the teams reload tab, useEffect(() => { window.addEventListener('beforeunload', leaveEvent) return () => ...
Jagadeesh-MSFT
Microsoft
Jun 23, 2021Hi Umag98, we are working on it , we will update you soon.
Jagadeesh-MSFT
Microsoft
Jun 24, 2021Hi Umag98, this can be tracked from https://stackoverflow.com/questions/68088215/is-their-a-way-to-listen-to-ms-teams-tab-reload .
Thank you
Thank you