gd-bs 6.6.97 → 6.6.98

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.
@@ -114,7 +114,7 @@ var _FloatingUI = /** @class */ (function () {
114
114
  }, 10);
115
115
  });
116
116
  // Create the scroll event
117
- document.addEventListener("scroll", function (ev) {
117
+ window.addEventListener("scroll", function (ev) {
118
118
  // Wait for the other events to run
119
119
  setTimeout(function () {
120
120
  // Parse the events
@@ -100,7 +100,7 @@ var _Popover = /** @class */ (function (_super) {
100
100
  elContent: this._elContent,
101
101
  elTarget: this.el,
102
102
  options: __assign({ arrow: true, flip: true, shift: { padding: 5 }, trigger: "mouse" }, this.props.options),
103
- placement: this.props.placement,
103
+ placement: this.props.placement || floating_ui_1.FloatingUIPlacements.Top,
104
104
  show: this.props.show,
105
105
  theme: this.props.type
106
106
  });