# WebSDK 2.3.5 Component view unable to leave meeting

**URL:** <https://devforum.zoom.us/t/websdk-2-3-5-component-view-unable-to-leave-meeting/67762>\
**Category:** Web\
**Created:** [April 19, 2022, 2:32pm UTC](https://devforum.zoom.us/t/websdk-2-3-5-component-view-unable-to-leave-meeting/67762 "2022-04-19T14:32:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Milenoi](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Milenoi](https://devforum.zoom.us/u/Milenoi)\
**Post date:** [April 19, 2022, 2:32pm UTC](https://devforum.zoom.us/t/websdk-2-3-5-component-view-unable-to-leave-meeting/67762/1 "2022-04-19T14:32:27Z")

</div>

Hi,

i use Component view in my vue app and i can start a meeting and join as participant but i cannot leave the meeting. A cancel buttons appears und clicking on it makes me stay in the meeting.

 ![Bildschirmfoto 2022-04-19 um 16.27.31](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/3/739a72f7b4d9af77d94b0d0a4b3844b1b8b3222f.png)  
 ![Bildschirmfoto 2022-04-19 um 16.27.22](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/9/e9236d211f9cedf6c914399b27bfb61943fc7dcd.png)  
 ![Bildschirmfoto 2022-04-19 um 16.27.17](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/c/ecd4671973e6a736ed81300c285a4b1305df1b69.png)

```auto
<template>
  <div class="zoom-module">
      <div class="zoom-submit">
        <button class="zoom-invite-button" @click="getSignature">Join Meeting</button>
      </div>
    </div>
  </div>
</template>

<script>
import axios from "axios";
import ZoomMtgEmbedded from '@zoomus/websdk/embedded';

export default {
  name: 'ZoomModule',
  created () {
  },
  data () {
    return {
      client: ZoomMtgEmbedded.createClient(),
      // This Sample App has been updated to use SDK App type credentials https://marketplace.zoom.us/docs/guides/build/sdk-app
      sdkKey: "MYKEY",
      meetingNumber: "MYNR",
      passWord: "MYPASSCODE",
      role: 0,
      signatureEndpoint: "",
      userEmail: "",
      userName: "Vue.js",
      // pass in the registrant's token if your meeting or webinar requires registration. More info here:
      // Meetings: https://marketplace.zoom.us/docs/sdk/native-sdks/web/component-view/meetings#join-registered
      // Webinars: https://marketplace.zoom.us/docs/sdk/native-sdks/web/component-view/webinars#join-registered
      registrantToken: ''
    }
  },
  methods: {
    getSignature() {
      this.startMeeting("MYSIGNATURE");
    },
 
    startMeeting(signature) {
      let meetingSDKElement = document.getElementById('meetingSDKElement');
      let meetingSDKChatElement = document.getElementById('meetingSDKChatElement')

      this.client.init({
        debug: true,
        zoomAppRoot: meetingSDKElement,
        language: 'en-US',
        customize: {
          video: {
            isResizable: true,
            popper: {
              disableDraggable: false
            }
          },
          chat: {
            popper: {
              disableDraggable: false,
              anchorElement: meetingSDKChatElement,
              placement: 'right'
            }
          },
          meetingInfo: ['topic', 'host', 'mn', 'pwd', 'telPwd', 'invite', 'participant', 'dc', 'enctype'],
          toolbar: {
            buttons: [
              {
                text: 'Custom Button',
                className: 'CustomButton',
                onClick: () => {
                  console.log('custom button');
                }
              }
            ]
          }
        }
      });

      this.client.join({
        sdkKey: this.sdkKey,
        signature: signature,
        meetingNumber: this.meetingNumber,
        password: this.passWord,
        userName: this.userName,
        userEmail: this.userEmail,
        tk: this.registrantToken
      })
    }
  }
}
</script>

```

---

<div class="post-metadata">

**Author:** ![Milenoi](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@Milenoi](https://devforum.zoom.us/u/Milenoi)\
**Post date:** [April 19, 2022, 3:20pm UTC](https://devforum.zoom.us/t/websdk-2-3-5-component-view-unable-to-leave-meeting/67762/2 "2022-04-19T15:20:51Z")

</div>

Update:

i startet the sample app. No i can see a leave button. seems to be a specific z.index issue in my component… i will try to fix this.

But i found another issue: clicking on the join button opens the zoom component. But leaving meeting and / or clicking again on join will cause several errors:

vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in v-on handler: “TypeError: Cannot assign to read only property ‘meetingInfo’ of object ‘#’”

found in

—\> at src/components/HelloWorldNew.vue  
 at src/App.vue

Is this a known issue?  
What can i do to fix this?

 ![Bildschirmfoto 2022-04-19 um 17.18.27](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/1/c1db36d166cd5d38f08aa1f78a80087bb3664bc7.png)  
 ![Bildschirmfoto 2022-04-19 um 17.18.03](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/f/4fa288a37443e52b2ddd8ea2650f24d26cd82551.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 25, 2022, 12:36am UTC](https://devforum.zoom.us/t/websdk-2-3-5-component-view-unable-to-leave-meeting/67762/3 "2022-05-25T00:36:52Z")

</div>

Hey @Milenoi ,

> [@Milenoi](#):
>
> “TypeError: Cannot assign to read only property ‘meetingInfo’

Thanks for sharing this, we are working on a fix. (380667) I am also going to move your post to the #Web category 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 24, 2022, 10:36am UTC](https://devforum.zoom.us/t/websdk-2-3-5-component-view-unable-to-leave-meeting/67762/4 "2022-06-24T10:36:59Z")

</div>

Closed on June 24, 2022, 10:36am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
