gd-bs 6.8.5 → 6.8.6

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.
@@ -93,6 +93,11 @@ var _FloatingUI = /** @class */ (function () {
93
93
  }
94
94
  // Create the event
95
95
  document.addEventListener("click", function (ev) {
96
+ var _a;
97
+ // Do nothing if we do not want to hide on click
98
+ if ((_a = _this._props.options) === null || _a === void 0 ? void 0 : _a.hideOnClick) {
99
+ return;
100
+ }
96
101
  // Do nothing if we toggled this component
97
102
  if (_this._elTarget.contains(ev.target)) {
98
103
  return;