gd-bs 6.7.1 → 6.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/bs.js +1 -1
- package/build/components/dropdown/index.js +1 -1
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/components/dropdown/index.ts +1 -1
- package/src/styles/_floating-ui.scss +2 -1
package/package.json
CHANGED
|
@@ -622,7 +622,7 @@ class _Dropdown extends Base<IDropdownProps> implements IDropdown {
|
|
|
622
622
|
}
|
|
623
623
|
|
|
624
624
|
// Get the menu
|
|
625
|
-
let menu: HTMLSelectElement = this.el.querySelector(".dropdown-menu") || this.el.querySelector("select");
|
|
625
|
+
let menu: HTMLSelectElement = this.el.querySelector(".dropdown-menu") || this.el.querySelector("select") || this.el.classList.contains("dropdown-menu");
|
|
626
626
|
if (menu) {
|
|
627
627
|
// Clear the menu
|
|
628
628
|
while (menu.firstChild) { menu.removeChild(menu.firstChild); }
|