gd-bs 5.9.7 → 5.9.9

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": "5.9.7",
3
+ "version": "5.9.9",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -184,9 +184,6 @@ class _Modal extends Base<IModalProps> implements IModal {
184
184
  elClose.addEventListener("click", () => {
185
185
  // Hide the modal
186
186
  this.hide();
187
-
188
- // Call the event
189
- this.props.onClose ? this.props.onClose(this.el) : null;
190
187
  });
191
188
  }
192
189
 
@@ -370,6 +367,9 @@ class _Modal extends Base<IModalProps> implements IModal {
370
367
 
371
368
  // Set the flag
372
369
  this._tranisitioningFl = false;
370
+
371
+ // Call the event
372
+ this.props.onClose ? this.props.onClose(this.el) : null;
373
373
  }, 250);
374
374
  } else {
375
375
  // Start the animation
@@ -178,6 +178,7 @@ class _Popover extends Base<IPopoverProps> implements IPopover {
178
178
  let options: ITippyProps = {
179
179
  ...{
180
180
  allowHTML: true,
181
+ appendTo: document.body,
181
182
  animation: "scale",
182
183
  arrow: true,
183
184
  delay: 100,