gd-bs 6.3.0 → 6.3.1
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.
|
@@ -271,7 +271,6 @@ var _Dropdown = /** @class */ (function (_super) {
|
|
|
271
271
|
options: {
|
|
272
272
|
arrow: false,
|
|
273
273
|
trigger: "click",
|
|
274
|
-
content: this._elMenu,
|
|
275
274
|
offset: [0, 4]
|
|
276
275
|
}
|
|
277
276
|
};
|
|
@@ -279,6 +278,8 @@ var _Dropdown = /** @class */ (function (_super) {
|
|
|
279
278
|
props = this.props.onMenuRendering ? this.props.onMenuRendering(props) : props;
|
|
280
279
|
// Create a popover to display the menu
|
|
281
280
|
this._popover = (0, popover_1.Popover)(props);
|
|
281
|
+
// Set the popover content
|
|
282
|
+
this._popover.setContent(this._elMenu);
|
|
282
283
|
}
|
|
283
284
|
};
|
|
284
285
|
// Configures the dropdown for a form
|