# Join Audio Menu dropdown does not work correctly

**URL:** <https://devforum.zoom.us/t/join-audio-menu-dropdown-does-not-work-correctly/45583>\
**Category:** Web\
**Created:** [March 12, 2021, 7:30pm UTC](https://devforum.zoom.us/t/join-audio-menu-dropdown-does-not-work-correctly/45583 "2021-03-12T19:30:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![developerlee](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerlee/32/24293_2.png) [@developerlee](https://devforum.zoom.us/u/developerlee)\
**Post date:** [March 12, 2021, 7:30pm UTC](https://devforum.zoom.us/t/join-audio-menu-dropdown-does-not-work-correctly/45583/1 "2021-03-12T19:30:02Z")

</div>

**Description**  
After clicking the “Join Audio by Computer” button, the bottom left audio menu doesn’t appear correctly.

Normally there would be a mute/unmute button in the bottom left; but instead, the audio menu (normally activated by the caret and is hidden by default) overlaps other elements that should be there. The caret button also does not work.

**Screenshot (gif)**

 ![zoomaudiobutton](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/6/c6ea2a83c09d4f6faad25582f5e18453187e4393.gif)

**Error**  
No errors, but the warning messages look relevant:

“Warning: Failed prop type: The prop `id` is required to make `n` accessible for users of assistive technologies such as screen readers.”

“Warning: React does not recognize the `pullLeft` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `pullleft` instead. If you accidentally  
passed it from a parent component, remove it from the DOM element.”

“Warning: React does not recognize the `Dropdown` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `dropdown` instead. If you accidentally passed it from a parent component, remove it from the DOM element.”

“Warning: React does not recognize the `noCaret` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `nocaret` instead. If you accidentally passed it from a parent component, remove it from the DOM element.”

“Warning: Each child in a list should have a unique “key” prop.”

**Which Client Web SDK version?**  
1.9.1

**To Reproduce(If applicable)**  
I’m using NuxtJS with WebSDK 1.9.1

**Device (please complete the following information):**  
Windows 10, tested on:

Microsoft Edge  
Version 89.0.774.50 (Official build) (64-bit)

Google Chrome  
Version 89.0.4389.82 (Official Build) (64-bit)

Firefox  
86.0.1 (64-bit)

---

<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:** [March 15, 2021, 4:31pm UTC](https://devforum.zoom.us/t/join-audio-menu-dropdown-does-not-work-correctly/45583/2 "2021-03-15T16:31:38Z")

</div>

Hey @developerlee ,

That is strange! Can you let me know if you are changing any of the Web SDK default styles?

Also, have you [included the Web SDK CSS](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build#option-2-import-through-cdn)?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![developerlee](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerlee/32/24293_2.png) [@developerlee](https://devforum.zoom.us/u/developerlee)\
**Post date:** [March 15, 2021, 6:33pm UTC](https://devforum.zoom.us/t/join-audio-menu-dropdown-does-not-work-correctly/45583/3 "2021-03-15T18:33:36Z")

</div>

Thanks Tommy, I didn’t have the CSS added correctly in my nuxt config. Doesn’t get rid of the warning messages but the menu does work now. Thanks again 🙏

---

<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:** [March 16, 2021, 7:40pm UTC](https://devforum.zoom.us/t/join-audio-menu-dropdown-does-not-work-correctly/45583/4 "2021-03-16T19:40:37Z")

</div>

Hey @developerlee,

I’m glad to hear that resolved your issue! When it comes to the errors in the browser console, make sure that you are importing all the dependencies correctly and that you are using only the local method or the CDN method but not both.

If that doesn’t help, we do have a [Sample Web App](https://github.com/zoom/sample-app-web) and a [Sample Vue.js App](https://github.com/zoom/websdk-sample-vuejs) that you can use as a reference.

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![developerlee](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerlee/32/24293_2.png) [@developerlee](https://devforum.zoom.us/u/developerlee)\
**Post date:** [March 22, 2021, 3:57pm UTC](https://devforum.zoom.us/t/join-audio-menu-dropdown-does-not-work-correctly/45583/5 "2021-03-22T15:57:02Z")

</div>

Hi @MaxM,

Thanks for your reply. Just a follow up question regarding using a local module vs the CDN:

In my app, I use a dynamic import statement that executes only after a user clicks a button. This is done just so the warning message isn’t affected by some of the CSS changes that occur on import.

So initialization looks something like:

```auto
const {ZoomMtg} = await import('@zoomus/websdk');

ZoomMtg.setZoomJSLib('https://source.zoom.us/1.9.1/lib', '/av');
ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK();

```

The module seems to import fine, but either specifying the dependency library (or not including the statement at all) to point to a local module doesn’t seem to work. I think that it’s unable to resolve the path name, resulting in a 404 not found.

For example, this will result in a 404: `ZoomMtg.setZoomJSLib('../node_modules/@zoomus/websdk/dist/lib', '/av');`

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/3/b3df886f33d0e216b761e5d6cbc97af90e6b9df5.png)

This has probably more to do with how I have things set up in my project rather than an issue with Zoom - but would be able to shed some light on the issue? Have other users experienced this issue and how did they resolve it?

Otherwise the app still works fine even with warnings, or alternatively I can stick to using just the CDN. Thanks.

---

<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:** [March 23, 2021, 8:17pm UTC](https://devforum.zoom.us/t/join-audio-menu-dropdown-does-not-work-correctly/45583/6 "2021-03-23T20:17:16Z")

</div>

Hey @developerlee,

This is a great question! From what I understand, this has to do with how certain frameworks bundle assets (i.e. webpack). When looking at the [Sample Vue.js App](https://github.com/zoom/websdk-sample-vuejs), we can see that the CDN method is required:

> <https://github.com/zoom/websdk-sample-vuejs/blob/635eec35c9b2ad3fdea097f13f4f338cf9d3d9de/src/components/HelloWorld.vue#L14-L16>

This is because Vue doesn’t provide good options to include particular dependencies from the node\_modules folder in the final build. Therefore, we have to explicitly include them from a CDN. I’m sure this can be done by changing a webpack config but the goal was to keep the sample simple.

When it comes to the [Sample Angular App](https://github.com/zoom/websdk-sample-angular), we can see that the CDN method isn’t required:

> <https://github.com/zoom/websdk-sample-angular/blob/3e69a04cb8dd5fffa468955b0f93bb3d36012298/src/app/app.component.ts#L5-L8>

This is because Angular provides a method for applications to bundle files from the node\_modules folder and using globs:

> <https://github.com/zoom/websdk-sample-angular/blob/3e69a04cb8dd5fffa468955b0f93bb3d36012298/angular.json#L26-L28>

I hope that clears things up! Let me know if you have any questions.

Thanks,  
Max

---

<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:** [April 23, 2021, 6:17am UTC](https://devforum.zoom.us/t/join-audio-menu-dropdown-does-not-work-correctly/45583/7 "2021-04-23T06:17:40Z")

</div>

Closed on April 23, 2021, 6:17am UTC

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