steep-balloon-41261
02/23/2023, 12:52 AMsteep-balloon-41261
02/23/2023, 1:30 AMsteep-balloon-41261
02/23/2023, 2:09 AMeager-train-52607
02/23/2023, 8:16 AMsteep-balloon-41261
02/23/2023, 12:46 PMhigh-psychiatrist-94291
02/23/2023, 3:03 PM@livekit/components-react
and i want to prevent users closing their tabs accidentally. I am using window.beforeunload
event to display warning if this user tries to close the browser or the tab. But when this event triggers inside of the room user disconnects from the room immediately. Before waiting for the task i assume. Is there way to prevent this behaviour.
https://github.com/livekit/client-sdk-js/blob/main/src/room/Room.ts#L545
EDIT: Sorry guys i just saw that it is already mentioned and its already fixed.
https://github.com/livekit/client-sdk-js/pull/580steep-balloon-41261
02/23/2023, 4:17 PMsteep-balloon-41261
02/24/2023, 2:28 AMsteep-balloon-41261
02/24/2023, 12:04 PMsteep-balloon-41261
02/24/2023, 6:46 PMsteep-balloon-41261
02/24/2023, 11:48 PMsteep-balloon-41261
02/27/2023, 10:05 AMsteep-balloon-41261
02/27/2023, 12:09 PMsteep-balloon-41261
02/27/2023, 12:19 PMsteep-balloon-41261
02/28/2023, 7:53 AMsteep-balloon-41261
02/28/2023, 8:12 AMsteep-balloon-41261
02/28/2023, 7:55 PMsteep-balloon-41261
03/01/2023, 9:38 AMsteep-balloon-41261
03/01/2023, 10:46 AMsteep-balloon-41261
03/01/2023, 12:46 PMsteep-balloon-41261
03/02/2023, 9:00 AMsteep-balloon-41261
03/02/2023, 9:38 AMhigh-wire-89131
03/02/2023, 10:50 AMbest-vegetable-36786
03/02/2023, 10:50 AMhigh-wire-89131
03/02/2023, 10:51 AMsteep-balloon-41261
03/02/2023, 10:57 AMsteep-balloon-41261
03/02/2023, 11:37 AMsteep-balloon-41261
03/02/2023, 2:05 PMsteep-balloon-41261
03/03/2023, 5:37 AMsteep-balloon-41261
03/03/2023, 10:59 AM