fit-ui 3.2.6 → 3.2.7
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/dist/Fit.UI.js +9 -5
- package/dist/Fit.UI.min.js +1 -1
- package/package.json +1 -1
package/dist/Fit.UI.js
CHANGED
|
@@ -682,7 +682,7 @@ Fit._internal =
|
|
|
682
682
|
{
|
|
683
683
|
Core:
|
|
684
684
|
{
|
|
685
|
-
VersionInfo: { Major: 3, Minor: 2, Patch:
|
|
685
|
+
VersionInfo: { Major: 3, Minor: 2, Patch: 7 } // Do NOT modify format - version numbers are programmatically changed when releasing new versions - MUST be on a separate line!
|
|
686
686
|
}
|
|
687
687
|
};
|
|
688
688
|
|
|
@@ -17771,10 +17771,6 @@ Fit.Controls.DialogEditor = function(ctlId)
|
|
|
17771
17771
|
|
|
17772
17772
|
init();
|
|
17773
17773
|
}
|
|
17774
|
-
|
|
17775
|
-
|
|
17776
|
-
|
|
17777
|
-
|
|
17778
17774
|
/// <container name="Fit.Controls.DropDown" extends="Fit.Controls.ControlBase">
|
|
17779
17775
|
/// Drop Down Menu control allowing for single and multi selection.
|
|
17780
17776
|
/// Supports data selection using any control extending from Fit.Controls.PickerBase.
|
|
@@ -20249,6 +20245,14 @@ Fit.Controls.DropDown = function(ctlId)
|
|
|
20249
20245
|
// Allow DropDown to reposition when items are added/remove which might affect height of control
|
|
20250
20246
|
resetDropDownPosition();
|
|
20251
20247
|
|
|
20248
|
+
// Allow external code to do custom positioning. This is not public API
|
|
20249
|
+
// and the behaviour might change at any time - use functionality with caution!
|
|
20250
|
+
if (typeof(me._customDropDownPositioning) === "function")
|
|
20251
|
+
{
|
|
20252
|
+
me._customDropDownPositioning(me, dropDownMenu, getDropDownMaxWidthPixelValue());
|
|
20253
|
+
return;
|
|
20254
|
+
}
|
|
20255
|
+
|
|
20252
20256
|
var spaceRequiredBelowControl = 100; // Opens upwards if this amount of pixels is not available below control, and more space is available above control
|
|
20253
20257
|
var spaceRequiredRightSide = getDropDownMaxWidthPixelValue(); // DropDownMaxWidth as px value - DropDown menu opens to the side that best accommodates the needed space - opening to the right is preferred
|
|
20254
20258
|
var spacingToEdge = 10; // Makes sure that DropDown menu has this amount of spacing (in pixels) to the edge of the viewport or scroll parent
|