-
-
Notifications
You must be signed in to change notification settings - Fork 9
Bug: CDN version bug #501
Copy link
Copy link
Open
Labels
4.4.xFlags issues that will be part of 4.4.xFlags issues that will be part of 4.4.xbugSomething isn't workingSomething isn't workingreadyFlags an issue as ready for releaseFlags an issue as ready for release
Description
Metadata
Metadata
Assignees
Labels
4.4.xFlags issues that will be part of 4.4.xFlags issues that will be part of 4.4.xbugSomething isn't workingSomething isn't workingreadyFlags an issue as ready for releaseFlags an issue as ready for release
If I load the library through CDN,
DisclosureMenuthrows this error:TypeError: Cannot set properties of undefined (setting 'menu-gduhniu') at K.initialize (accessible-menu.iife.js:3:582)and doesn't work at all. The last working version through CDN is 4.1.2. If I install it through NPM, everything works fine, even in the latest versions.You can try it easily in the example on Codepen here: https://codepen.io/nickdjm/pen/NWmWMea
If you remove the import and load the library through CDN, it will stop working.