gd-bs 6.8.6 → 6.8.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.8.6",
3
+ "version": "6.8.7",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -100,7 +100,7 @@ class _FloatingUI {
100
100
  // Create the event
101
101
  document.addEventListener("click", (ev) => {
102
102
  // Do nothing if we do not want to hide on click
103
- if (this._props.options?.hideOnClick) { return; }
103
+ if (this._props.options?.hideOnClick == false) { return; }
104
104
 
105
105
  // Do nothing if we toggled this component
106
106
  if (this._elTarget.contains(ev.target as HTMLElement)) { return; }