# Share screen button not visible in Client Web SDK 2.1.1

**URL:** <https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665>\
**Category:** Web\
**Created:** [January 14, 2022, 9:22am UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665 "2022-01-14T09:22:03Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![moogway](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@moogway](https://devforum.zoom.us/u/moogway)\
**Post date:** [January 14, 2022, 9:22am UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665/1 "2022-01-14T09:22:03Z")

</div>

Hi,

We are using Zoom’s Client Web SDK [2.1.1] and as shown in the image below, the “Share screen” option doesn’t render in the “More” section of the toolbar. However it does show up in the toolbar itself when the view size increases (and subsequently, the “More” button hides itself).

![zoom-no-share-screen](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/0/30ab1fa6bb8aabdd6d491fae37032314d2773023.png)

As you can see in the screenshot, there is an empty cell which, we believe, should have had the “Share screen” option. Clicking on that empty cell throws the following error:

```javascript

Uncaught TypeError: e.handleOnClick is not a function
    at onSelect (zoom-meeting-2.1.1.min.js:2:3507431)
    at zoom-meeting-2.1.1.min.js:2:537732
    at t.handleClick (zoom-meeting-2.1.1.min.js:2:2238443)
    at t.handleClick (zoom-meeting-2.1.1.min.js:2:982470)
    at Object.sh (react-dom.min.js:164:410)
    at rh (react-dom.min.js:13:429)
    at uh (react-dom.min.js:13:483)
    at Ge (react-dom.min.js:15:158)
    at vh (react-dom.min.js:165:250)
    at ad (react-dom.min.js:15:443)

```

A confirmation of the bug and a solution will be most appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![loopers410](https://avatars.discourse-cdn.com/v4/letter/l/f04885/32.png) [@loopers410](https://devforum.zoom.us/u/loopers410)\
**Post date:** [January 14, 2022, 3:29pm UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665/2 "2022-01-14T15:29:26Z")

</div>

Hi,

Can you show us the code where you call the init function ?  
Maybe you forgot to add the Share screen in the init function  
Check all the options you added here : [https://marketplace.zoom.us/docs/sdk/native-sdks/web/client-view/reference#init](https://marketplace.zoom.us/docs/sdk/native-sdks/web/client-view/reference#init)

---

<div class="post-metadata">

**Author:** ![moogway](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@moogway](https://devforum.zoom.us/u/moogway)\
**Post date:** [January 17, 2022, 4:37am UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665/3 "2022-01-17T04:37:17Z")

</div>

Hi!

Thanks for the response. We are initializing the meeting correctly with `screenShare` set to true. The button is still not visible.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 22, 2022, 1:39am UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665/4 "2022-01-22T01:39:02Z")

</div>

@moogway Make sure you’re serving the site over HTTPS with something like Ngrok. If that doesn’t help, try testing with the [Sample Web App](https://github.com/zoom/sample-app-web) and let me know if that helps.

---

<div class="post-metadata">

**Author:** ![moogway](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@moogway](https://devforum.zoom.us/u/moogway)\
**Post date:** [January 24, 2022, 11:48am UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665/5 "2022-01-24T11:48:49Z")

</div>

Hey Max,

Thanks for the response. We tried the sample app (served over https with ngrok) but even there the share screen button hides itself if the window is resized. If the window is expanded, it appears in the bottom toolbar. Attached are the screenshots.

View - resized and shrunk

 ![shrunk](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/5/55627155d677054fe451d78e5798e38e52aba318.png)

View - full size

 ![expanded](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/e/cef38a0b310917b351fb4c9ae55a903bc9cf6d6e.png)

It seems like a bug with the SDK.

Thanks!

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [January 28, 2022, 12:59am UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665/6 "2022-01-28T00:59:53Z")

</div>

@MaxM  
We also have this issue within our application when we upgrade. Would be nice to have a look at it, it’s quite impacting for users since almost all minimize / resize the window during a meeting at some point.

---

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [January 31, 2022, 2:13am UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665/7 "2022-01-31T02:13:33Z")

</div>

@moogway  
It seems that the latest version release (2.2.0) fixed it.

The very bad point of release 2.2.0, if you are hosting zoom resources by yourself instead of using the CDN, you will have to update zoom source code from their npm package to fix two returned type that are bugged, as explained on the release note [here](https://marketplace.zoom.us/docs/sdk/native-sdks/android/resource/release-notes/).

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [February 3, 2022, 12:46am UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665/8 "2022-02-03T00:46:13Z")

</div>

@nvivot Thank you for sharing the solution as well as the caveat with the new version.

@moogway Let me know if that update resolves your issues.

---

<div class="post-metadata">

**Author:** ![moogway](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@moogway](https://devforum.zoom.us/u/moogway)\
**Post date:** [February 3, 2022, 12:52pm UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665/9 "2022-02-03T12:52:30Z")

</div>

Thanks @MaxM ! Upgrading to the latest release fixed it for us too.

---

<div class="post-metadata">

**Author:** ![lfrancia](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lfrancia/32/9289_2.png) [@lfrancia](https://devforum.zoom.us/u/lfrancia)\
**Post date:** [February 17, 2022, 2:35am UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665/10 "2022-02-17T02:35:47Z")

</div>

Hi @MaxM,

Do you have an update about @nvivot remarks below? We are having 2nd thoughts on updating our app to use v.2.2.0 yet because of this so we would appreciate it if this can be addressed soon on Zoom side.

> The very bad point of release 2.2.0, if you are hosting zoom resources by yourself instead of using the CDN, you will have to update zoom source code from their npm package to fix two returned type that are bugged, as explained on the release note [here](https://marketplace.zoom.us/docs/sdk/native-sdks/android/resource/release-notes/).

Thanks,  
Lara

---

<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:** [March 19, 2022, 12:35pm UTC](https://devforum.zoom.us/t/share-screen-button-not-visible-in-client-web-sdk-2-1-1/62665/11 "2022-03-19T12:35:52Z")

</div>

Closed on March 19, 2022, 12:35pm UTC

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