@brightspace-ui/core 3.336.3 → 3.337.0

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.
@@ -125,7 +125,7 @@ class DropdownMenu extends ThemeMixin(DropdownPopoverMixin(LitElement)) {
125
125
  this.#getMenuElement().focus();
126
126
  }
127
127
 
128
- #handleMenuResize(e) {
128
+ #handleMenuResize() {
129
129
 
130
130
  if (this._mobile && this.mobileTray) {
131
131
  this.maxHeight = null;
@@ -133,7 +133,7 @@ class DropdownMenu extends ThemeMixin(DropdownPopoverMixin(LitElement)) {
133
133
  this.maxHeight = this.#maxHeightNonTray;
134
134
  }
135
135
 
136
- this.position(e.detail, { updateLocation: this.#initializingHeight });
136
+ this.position(undefined, { updateLocation: this.#initializingHeight });
137
137
  this.#initializingHeight = false;
138
138
 
139
139
  const menu = this.#getMenuElement();
@@ -152,7 +152,6 @@ class DropdownMenu extends ThemeMixin(DropdownPopoverMixin(LitElement)) {
152
152
  this._closeRadio = false;
153
153
 
154
154
  const menu = this.#getMenuElement();
155
- menu.resize();
156
155
 
157
156
  // If dropdown-menu is opened on first render, do not focus
158
157
  if (this.#initiallyOpenedSuppressFocus) this.#initiallyOpenedSuppressFocus = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.336.3",
3
+ "version": "3.337.0",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",