# Mobile Safari blocks all clicks after an error when trying to create a new video client instance

**URL:** <https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735>\
**Category:** Contact Center\
**Tags:** ios\
**Created:** [September 25, 2023, 12:58pm UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735 "2023-09-25T12:58:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsikhan.koktysh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tsikhan.koktysh/32/52405_2.png) [@tsikhan.koktysh](https://devforum.zoom.us/u/tsikhan.koktysh)\
**Post date:** [September 25, 2023, 12:58pm UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/1 "2023-09-25T12:58:22Z")

</div>

**Description** : Mobile Safari blocks all clicks after an error when trying to create a new video client instance.

**Web Framework:** Angular 13.2.2

**Reproducible Steps** :

1. Connect SDK to framework via [link](https://us01ccistatic.zoom.us/us01cci/web-sdk/video-client.js)
2. Try to get a new client instance using

`new VideoClient();`

**Current result:** invoking of new instance cause an error, click event stops working

[Screenshot](https://devforum.zoom.us/uploads/short-url/qTun8xFkXnvGWOqnINW5vp4EuuE.png)

**Expected result:** new instance created without errors, all app works well as in other browsers/platforms

**Device Information** : iPhone 14 (iOS 16.4). Seems like this problem reproduces for all mobile devices with Safari.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [September 25, 2023, 5:43pm UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/2 "2023-09-25T17:43:36Z")

</div>

Welcome and greetings, @tsikhan.koktysh!

Thank you for posting in the Zoom Developer Forum. It appears that you have encountered an issue with an older version of the Web SDK. Could you please try using the latest version of the SDK and let us know if the problem persists? Each release includes numerous bug fixes, so testing with the updated version will help determine if this behavior has already been addressed.

> **[GitHub - zoom/meetingsdk-angular-sample: Use the Zoom Meeting SDK in Angular](https://github.com/zoom/meetingsdk-angular-sample)**
>
> Use the Zoom Meeting SDK in Angular. Contribute to zoom/meetingsdk-angular-sample development by creating an account on GitHub.

Please see our change log for the latest update and changes :

> **[Developer Changelog](https://devsupport.zoom.us/hc/en-us/articles/10007372381325-Developer-Changelog)**
>
> Welcome to the new Zoom Developer Changelog.
> To subscribe to release update emails, choose a developer product and platform and click "Follow". You can subscribe to general developer product releas...

---

<div class="post-metadata">

**Author:** ![tsikhan.koktysh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tsikhan.koktysh/32/52405_2.png) [@tsikhan.koktysh](https://devforum.zoom.us/u/tsikhan.koktysh)\
**Post date:** [September 26, 2023, 9:46am UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/3 "2023-09-26T09:46:51Z")

</div>

Hi @donte.zoom !

Thank you for fast replay.

I have already updated the SDK version to the latest version `2.16.0`, but it seems that the problem is not with the Zoom Meeting SDK. In our application we are using both Zoom SDK and Contact Center SDK and as I described earlier the problem is with video-client.js (you can find the exact point and error in the screenshot) and after updating the Zoom Meeting SDK it still present.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [September 26, 2023, 1:26pm UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/4 "2023-09-26T13:26:52Z")

</div>

Thank you for your response. I have reviewed the screenshot provided, but it does not contain enough information to diagnose the issue. I have a few follow-up questions:

1. Can you share a screenshot of all the logs? This will help me understand the complete context.

2. Does this issue occur when you run the app separately, or is it specific to integration?

3. At what point does Safari block all mobile clicks? Is this issue specific to Safari?

4. How have you tested this behavior on different browsers?

5. Which button is clicked to trigger this behavior?

Please provide the additional information so that I can assist you further.

---

<div class="post-metadata">

**Author:** ![tsikhan.koktysh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tsikhan.koktysh/32/52405_2.png) [@tsikhan.koktysh](https://devforum.zoom.us/u/tsikhan.koktysh)\
**Post date:** [September 26, 2023, 3:29pm UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/5 "2023-09-26T15:29:28Z")

</div>

Here are the answers from my side:

_ **1. Can you share a screenshot of all the logs? This will help me understand the complete context.** _

Here’s a [link](https://devforum.zoom.us/uploads/short-url/vofIwrkG2i3vy4sNQzhOS4Ok7Hf.jpeg)

_ **2. Does this issue occur when you run the app separately, or is it specific to integration?** _

Issue occurs when I run app separately

_ **3. At what point does Safari block all mobile clicks? Is this issue specific to Safari?** _

It blocked when I visit a page with several “Contact Centers” on the moment when app trying to get new instance of video client by executing `new VideoClient({});`. When I commit this string, error disappears and click events start working. Issue specific for iOS and can be reproduced also in Chrome.

_ **4. How have you tested this behavior on different browsers?** _

Just install another browsers (Firefox, Chrome) and try to open necessary app page.

_ **5. Which button is clicked to trigger this behavior?** _

Link to another page is clicked

---

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [September 27, 2023, 2:00pm UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/6 "2023-09-27T14:00:14Z")

</div>

We’re having the same issue. Any suggestions? Thanks!

---

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [September 29, 2023, 8:57am UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/7 "2023-09-29T08:57:22Z")

</div>

Up! This problem is blocking our migration to Zoom Contact Center. Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [October 2, 2023, 9:24am UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/8 "2023-10-02T09:24:14Z")

</div>

Can anyone help with this issue? It’s really urgent. Thanks!

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [October 2, 2023, 9:32am UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/9 "2023-10-02T09:32:11Z")

</div>

@tsikhan.koktysh,

I see that you have a support ticket regarding this matter. It appears that the root cause may be related to how the website elements were modified on the page with multiple “Contact Centers”. Is the same behavior occurring when the website elements are not modified? Also, what happens if you visit a page with only one contact center, does the same behavior occur? I am looking to better understand at what point same the page and what edge cases have you tested and explored.

> [@tsikhan.koktysh](#):
>
> Connect SDK to framework via [link](https://us01ccistatic.zoom.us/us01cci/web-sdk/video-client.js)

Also, could you please elaborate on what you mean by “the SDK connect to framework”? Specifically, which framework are you referring to when connecting the SDK?

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [October 2, 2023, 9:40am UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/10 "2023-10-02T09:40:59Z")

</div>

@victor.softeq ,  
We understand that this matter is urgent and are currently working to gain a better understanding of how to proceed. Your use case is unique, which requires us to comprehend the user experience you are aiming to achieve and how you are implementing the Video SDK. Please know our engineering team has been collaborating with support to assess and offer guidance. We appreciate your feedback and patience on this matter.

---

<div class="post-metadata">

**Author:** ![tsikhan.koktysh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tsikhan.koktysh/32/52405_2.png) [@tsikhan.koktysh](https://devforum.zoom.us/u/tsikhan.koktysh)\
**Post date:** [October 5, 2023, 8:53am UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/11 "2023-10-05T08:53:19Z")

</div>

Hi, @donte.zoom .  
Sorry for delay with answers.

> [@donte.zoom](#):
>
> It appears that the root cause may be related to how the website elements were modified on the page with multiple “Contact Centers”. Is the same behavior occurring when the website elements are not modified?

Sorry, I’m not sure I understood you correctly in this case. We have a page with list of “Contact centers”. Basically it’s a grid with buttons to join and additional text information about each room. We get this list from BE, so when the user comes to this page, it is empty and all the data appears a little later.

> [@donte.zoom](#):
>
> Also, what happens if you visit a page with only one contact center, does the same behavior occur?

Yes, it doesn’t matter how many centers are displayed.

> [@donte.zoom](#):
>
> Specifically, which framework are you referring to when connecting the SDK?

Here it is:

> [@tsikhan.koktysh](#):
>
> **Web Framework:** Angular 13.2.2

---

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [October 9, 2023, 8:25am UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/12 "2023-10-09T08:25:09Z")

</div>

Hi @donte.zoom,  
Please, let me know if you need anything else to debug the issue.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [October 9, 2023, 8:57pm UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/13 "2023-10-09T20:57:41Z")

</div>

@victor.softeq and @tsikhan.koktysh ,

Can you share an example repo that reproduces the behavior you are experiencing?

---

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [October 11, 2023, 8:50am UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/14 "2023-10-11T08:50:40Z")

</div>

Hi @donte.zoom,  
We certainly can, but we need some time to prepare a new project for you. Should I share a link via private message?  
Thanks!

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [October 11, 2023, 10:15am UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/15 "2023-10-11T10:15:37Z")

</div>

Awesome, @victor.softeq ! I will message you privately to start the thread. When you are ready, please share the repo there.

---

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [October 25, 2023, 2:29pm UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/16 "2023-10-25T14:29:32Z")

</div>

The issue is resolved by removing a block of code on our end that was causing the problem. Thank you all for your help!

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [October 25, 2023, 6:34pm UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/17 "2023-10-25T18:34:01Z")

</div>

Wonderful news, @victor.softeq! Can you share a description and code snippet of the solution on the forum? It would greatly benefit the community!

---

<div class="post-metadata">

**Author:** ![victor.softeq](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@victor.softeq](https://devforum.zoom.us/u/victor.softeq)\
**Post date:** [October 26, 2023, 10:27am UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/18 "2023-10-26T10:27:31Z")

</div>

The issue was related to an outdated block of code on our side that was breaking the page. The challenge was to find that block of code.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [October 26, 2023, 10:45pm UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/19 "2023-10-26T22:45:13Z")

</div>

Thank you @victor.softeq ! Your contribution are appreciated!

---

<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:** [November 26, 2023, 8:45am UTC](https://devforum.zoom.us/t/mobile-safari-blocks-all-clicks-after-an-error-when-trying-to-create-a-new-video-client-instance/95735/20 "2023-11-26T08:45:27Z")

</div>

Closed on November 26, 2023, 8:45am UTC

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