# Zoom web sdk leave and exit button is not working

**URL:** <https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362>\
**Category:** Meeting SDK\
**Created:** [October 6, 2023, 3:19pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362 "2023-10-06T15:19:06Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![regulapati.srimuktha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/regulapati.srimuktha/32/52816_2.png) [@regulapati.srimuktha](https://devforum.zoom.us/u/regulapati.srimuktha)\
**Post date:** [October 6, 2023, 3:19pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/1 "2023-10-06T15:19:06Z")

</div>

I integrated zoom sdk in Next.js application.Facing issues with zoom sdk end button and leave button.Upon clicking the buttons, nothing is happening and no error logs were found in console.Please find the version of Next.js ,React.js and zoom sdk along with code.

“next”: “^13.4.12”,  
“@zoomus/websdk”: “^2.17.0”,  
“react”: “18.2.0”,

code:  
{  
ZoomMtg.setZoomJSLib(“[https://source.zoom.us/2.17.0/lib](https://source.zoom.us/2.17.0/lib)”, “/av”);

ZoomMtg.preLoadWasm();  
ZoomMtg.prepareJssdk();  
// loads language files, also passes any error messages to the ui  
ZoomMtg.i18n.load(“en-US”);  
ZoomMtg.i18n.reload(“en-US”);

ZoomMtg.init({  
leaveUrl: `${window.location.origin}`,  
isSupportChat: false,  
disableInvite: true,  
debug: true,  
disableRecord: true,  
showMeetingHeader: true,  
meetingInfo: [  
// optional  
“topic”,  
“host”,  
“mn”,  
“pwd”,  
“telPwd”,  
“invite”,  
“enctype”,  
],  
success: () =\> {  
ZoomMtg.join({  
signature: signature,  
sdkKey: sdkKey,  
meetingNumber: meetingNumber,  
passWord: passWord,  
userName: userName,  
userEmail: userEmail,  
tk: registrantToken,  
zak: zakToken,  
success: () =\> {},  
error: (err) =\> {  
console.log(`err`, err);  
},  
});  
},  
error: (err) =\> {  
console.log(`err`, err);  
},  
});  
return loadedZoom;

```auto

};
```

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [October 6, 2023, 8:18pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/2 "2023-10-06T20:18:40Z")

</div>

for Client View you have to use react 16

> [@Zoom web SDK : Leave button, more button, reaction button, not working](https://devforum.zoom.us/t/zoom-web-sdk-leave-button-more-button-reaction-button-not-working/90050/6):
>
> the problem with the “Leave Button” + React 17 is not new 2.11.0 (March 2023) 2.97 (Feb 2023) 2.7.0 (Aug 2022) - but not enough infos

---

<div class="post-metadata">

**Author:** ![regulapati.srimuktha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/regulapati.srimuktha/32/52816_2.png) [@regulapati.srimuktha](https://devforum.zoom.us/u/regulapati.srimuktha)\
**Post date:** [October 9, 2023, 5:00am UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/3 "2023-10-09T05:00:49Z")

</div>

@j.schoenemeyer  
Hi, we have 2 other applications running with react version 17+ and dont have any issues there with exit and leave buttons

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [October 9, 2023, 2:10pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/4 "2023-10-09T14:10:21Z")

</div>

are you using Component View in the other apps ?

---

<div class="post-metadata">

**Author:** ![regulapati.srimuktha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/regulapati.srimuktha/32/52816_2.png) [@regulapati.srimuktha](https://devforum.zoom.us/u/regulapati.srimuktha)\
**Post date:** [October 10, 2023, 9:43am UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/5 "2023-10-10T09:43:37Z")

</div>

@j.schoenemeyer We are not using component view

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [October 10, 2023, 8:20pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/6 "2023-10-10T20:20:29Z")

</div>

this is a very good news - you have 2 workings apps and 1 not working with the same zoom SDK

now you just have to find out the difference - please post your solution here

---

<div class="post-metadata">

**Author:** ![regulapati.srimuktha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/regulapati.srimuktha/32/52816_2.png) [@regulapati.srimuktha](https://devforum.zoom.us/u/regulapati.srimuktha)\
**Post date:** [October 11, 2023, 4:59am UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/7 "2023-10-11T04:59:45Z")

</div>

@j.schoenemeyer Those two applications are in react.js and 1 is with next.js

---

<div class="post-metadata">

**Author:** ![regulapati.srimuktha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/regulapati.srimuktha/32/52816_2.png) [@regulapati.srimuktha](https://devforum.zoom.us/u/regulapati.srimuktha)\
**Post date:** [October 12, 2023, 6:09am UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/8 "2023-10-12T06:09:54Z")

</div>

@gianni.zoom Can you please provide any input on this.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 12, 2023, 4:35pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/9 "2023-10-12T16:35:06Z")

</div>

Hi @regulapati.srimuktha,

We’ll try to help you debug. What differences are there between the react and next.js apps, if any? Are you able to share your github links for the code?

---

<div class="post-metadata">

**Author:** ![regulapati.srimuktha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/regulapati.srimuktha/32/52816_2.png) [@regulapati.srimuktha](https://devforum.zoom.us/u/regulapati.srimuktha)\
**Post date:** [October 13, 2023, 8:54am UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/10 "2023-10-13T08:54:56Z")

</div>

Hi @gianni.zoom

Please find the stackblitz link below for next.js project .

> **[Next.js zoom - StackBlitz](https://stackblitz.com/edit/stackblitz-starters-j2jtir?description=The%20React%20framework%20for%20production&file=app%2Fzoom-sdk.js,app%2Fpage.js&title=Next.js%20Starter)**
>
> The React framework for production

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 16, 2023, 4:30pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/11 "2023-10-16T16:30:17Z")

</div>

Hi @regulapati.srimuktha ,

I’m not able to join. When I click join, I get a blank screen:

 ![Screenshot 2023-10-16 at 12.28.39 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/8/18cc7a6fb65982db6f7ca58f36d796b12f8a5142.png)

---

<div class="post-metadata">

**Author:** ![regulapati.srimuktha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/regulapati.srimuktha/32/52816_2.png) [@regulapati.srimuktha](https://devforum.zoom.us/u/regulapati.srimuktha)\
**Post date:** [October 17, 2023, 6:02am UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/13 "2023-10-17T06:02:30Z")

</div>

@gianni.zoom Hi Gianni

Could you please use any of your own credentials/config to reproduce the issue, since we are not supposed to expose the meeting config here like signature ,sdk key and other details .

Thank you

---

<div class="post-metadata">

**Author:** ![regulapati.srimuktha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/regulapati.srimuktha/32/52816_2.png) [@regulapati.srimuktha](https://devforum.zoom.us/u/regulapati.srimuktha)\
**Post date:** [October 19, 2023, 6:55am UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/14 "2023-10-19T06:55:50Z")

</div>

@gianni.zoom Hi Gianni,

We have an issue with “reactions” as well on zoom meeting screen.nothing is happening upon clicking on reactions.Please let me know in case of any inputs

Thank you

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 19, 2023, 4:35pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/15 "2023-10-19T16:35:49Z")

</div>

@regulapati.srimuktha thank you for your patience, I’ll try again with my credentials later today!

---

<div class="post-metadata">

**Author:** ![regulapati.srimuktha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/regulapati.srimuktha/32/52816_2.png) [@regulapati.srimuktha](https://devforum.zoom.us/u/regulapati.srimuktha)\
**Post date:** [October 25, 2023, 10:54am UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/16 "2023-10-25T10:54:42Z")

</div>

@gianni.zoom Hi Gianni,Is there any update on this?

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 25, 2023, 9:13pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/17 "2023-10-25T21:13:43Z")

</div>

Hi @regulapati.srimuktha , still getting black screen with credentials. Can you please share a link to a recording of the behavior you’re seeing?

---

<div class="post-metadata">

**Author:** ![regulapati.srimuktha](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/regulapati.srimuktha/32/52816_2.png) [@regulapati.srimuktha](https://devforum.zoom.us/u/regulapati.srimuktha)\
**Post date:** [October 26, 2023, 5:38am UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/18 "2023-10-26T05:38:06Z")

</div>

@gianni.zoom Please find the link below for recording

> **[Screen Recording 2023-10-26 at 10.22.58 AM.mov](https://drive.google.com/file/d/11odsgztkoJBXuKe4zCJ5aaZAoK3v_1T7/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [October 26, 2023, 2:25pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/19 "2023-10-26T14:25:07Z")

</div>

> [@regulapati.srimuktha](#):
>
> [Screen Recording 2023-10-26 at 10.22.58 AM.mov - Google Drive](https://drive.google.com/file/d/11odsgztkoJBXuKe4zCJ5aaZAoK3v_1T7/view?usp=sharing)

Oh I see @regulapati.srimuktha ! Please see the below thread:

> [@Zoom web SDK : Leave button, more button, reaction button, not working](https://devforum.zoom.us/t/zoom-web-sdk-leave-button-more-button-reaction-button-not-working/90050/6):
>
> the problem with the “Leave Button” + React 17 is not new 2.11.0 (March 2023) 2.97 (Feb 2023) 2.7.0 (Aug 2022) - but not enough infos

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [October 26, 2023, 2:32pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-leave-and-exit-button-is-not-working/96362/20 "2023-10-26T14:32:00Z")

</div>

this is EXACTLY the (known) behaviour if you use zoom SDK (client view) with react 18.2/17.02 instead of react 16.4

- no reaction button
- no leave button
- all other button seems to work

you have to wait until zoom will upgrade zoom SDK from 16.4 to 18.2 or use react 16.4 in your app
