# Detect when a participant leaves the meeting

**URL:** <https://devforum.zoom.us/t/detect-when-a-participant-leaves-the-meeting/93805>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [August 22, 2023, 9:59pm UTC](https://devforum.zoom.us/t/detect-when-a-participant-leaves-the-meeting/93805 "2023-08-22T21:59:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brayan.laurindo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/brayan.laurindo/32/51336_2.png) [@brayan.laurindo](https://devforum.zoom.us/u/brayan.laurindo)\
**Post date:** [August 22, 2023, 9:59pm UTC](https://devforum.zoom.us/t/detect-when-a-participant-leaves-the-meeting/93805/1 "2023-08-22T21:59:45Z")

</div>

**Description**  
Hello, my app uses vue.js, and I was able to successfully integrate the Web SDK’s component view. However when I make the user join the meeting room, I’m adding some styling to the zoomAppRoot’s div so it stands out on top of my app and blocks any clicks on it (as some sort of a modal).  
The problem now is: when either the user disconnects, or the meeting host ends the meeting, I need a way to detect that to call my internal method that “destroys” this element and unblocks the app from being used/clickable.  
Does that make sense?

**Which Web Meeting SDK version?**  
2.15.2

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Use the component (ZoomMtgEmbedded) to join a meeting
2. Add some styling to the zoomAppRoot
3. Leave the meeting / make the host end the meeting.
4. You will see that the styling of the zoomAppRoot will remain in there and there is no way to check if the meeting ended using the SDK.

**Troubleshooting Routes**  
I saw some links where people mention using `inMeetingServiceListener` however it seems like it is just for mobile/client view? i did not find anything for the component view.

**Device (please complete the following information):**

- Device: PC
- OS: Fedora
- Browser: Tried on Firefox and Chrome
- Browser Version Latest

---

<div class="post-metadata">

**Author:** ![brayan.laurindo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/brayan.laurindo/32/51336_2.png) [@brayan.laurindo](https://devforum.zoom.us/u/brayan.laurindo)\
**Post date:** [August 24, 2023, 8:07pm UTC](https://devforum.zoom.us/t/detect-when-a-participant-leaves-the-meeting/93805/3 "2023-08-24T20:07:43Z")

</div>

Yeah, I thought so. But my app is a vue.js app and the client view requires react. I’ll probably have to add an iframe or something, which I didn’t want to do but I don’t see another way ☹

---

<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:** [September 24, 2023, 6:07am UTC](https://devforum.zoom.us/t/detect-when-a-participant-leaves-the-meeting/93805/4 "2023-09-24T06:07:54Z")

</div>

Closed on September 24, 2023, 6:07am UTC

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