mn-angular-lib 1.0.150 → 1.0.152
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
|
@@ -3231,6 +3231,14 @@ declare class MnDropdown implements OnInit {
|
|
|
3231
3231
|
* or when the menu is not searchable, leaving the plain content-height popover untouched.
|
|
3232
3232
|
*/
|
|
3233
3233
|
panelFloorPx: number | null;
|
|
3234
|
+
/**
|
|
3235
|
+
* The anchored popover's opened width, locked for the same reason as {@link panelFloorPx}:
|
|
3236
|
+
* the panel is content-sized between its `min-w`/`max-w` bounds, so a filtered list that
|
|
3237
|
+
* drops the widest item would otherwise shrink the popover mid-type. Captured on the same
|
|
3238
|
+
* next-frame pass as the height, so applying it is jump-free. Null while closed or when the
|
|
3239
|
+
* menu is not searchable, leaving the plain content-width popover untouched.
|
|
3240
|
+
*/
|
|
3241
|
+
panelWidthPx: number | null;
|
|
3234
3242
|
/**
|
|
3235
3243
|
* The mobile sheet's opened height, applied as a `min-height` floor for the same reason
|
|
3236
3244
|
* as {@link panelFloorPx} — mirroring mn-multi-select's sheet floor. Null while anchored,
|
|
@@ -3303,11 +3311,12 @@ declare class MnDropdown implements OnInit {
|
|
|
3303
3311
|
private lockBodyScroll;
|
|
3304
3312
|
private unlockBodyScroll;
|
|
3305
3313
|
/**
|
|
3306
|
-
* Records the anchored popover's opened height and
|
|
3307
|
-
* Measured on the next frame so the read
|
|
3308
|
-
* (the search box is empty on open) and never
|
|
3309
|
-
*
|
|
3310
|
-
* shorter filtered list from
|
|
3314
|
+
* Records the anchored popover's opened height and width, locking them via
|
|
3315
|
+
* {@link panelFloorPx} / {@link panelWidthPx}. Measured on the next frame so the read
|
|
3316
|
+
* reflects the fully-rendered, unfiltered list (the search box is empty on open) and never
|
|
3317
|
+
* forces a reflow mid change-detection. Both values equal the current dimensions, so
|
|
3318
|
+
* applying them is jump-free — they only stop a later, shorter/narrower filtered list from
|
|
3319
|
+
* shrinking the panel.
|
|
3311
3320
|
*/
|
|
3312
3321
|
private capturePanelFloor;
|
|
3313
3322
|
/**
|