fit-ui 2.6.1 → 2.6.2
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 +3 -2
- package/dist/Fit.UI.min.js +1 -1
- package/package.json +1 -1
package/dist/Fit.UI.js
CHANGED
|
@@ -648,7 +648,7 @@ Fit._internal =
|
|
|
648
648
|
{
|
|
649
649
|
Core:
|
|
650
650
|
{
|
|
651
|
-
VersionInfo: { Major: 2, Minor: 6, Patch:
|
|
651
|
+
VersionInfo: { Major: 2, Minor: 6, Patch: 2 } // Do NOT modify format - version numbers are programmatically changed when releasing new versions - MUST be on a separate line!
|
|
652
652
|
}
|
|
653
653
|
};
|
|
654
654
|
|
|
@@ -23350,7 +23350,7 @@ Fit.Controls.Input = function(ctlId)
|
|
|
23350
23350
|
|
|
23351
23351
|
resolve(items);
|
|
23352
23352
|
|
|
23353
|
-
if (Fit._internal.ControlBase.ReduceDocumentRootPollution === true)
|
|
23353
|
+
if (items.length > 0 && Fit._internal.ControlBase.ReduceDocumentRootPollution === true)
|
|
23354
23354
|
{
|
|
23355
23355
|
// Calling resolve(..) above immediately opens the context menu from which
|
|
23356
23356
|
// a tag can be selected. However, it is placed in the root of the document
|
|
@@ -23362,6 +23362,7 @@ Fit.Controls.Input = function(ctlId)
|
|
|
23362
23362
|
// such menu open at any time. Each editor can declare multiple autocomplete
|
|
23363
23363
|
// context menus since each tag marker is associated with its own context menu.
|
|
23364
23364
|
var ctm = document.querySelector("ul.cke_autocomplete_opened");
|
|
23365
|
+
ctm.style.position = "fixed"; // Has position:absolute by default, but this may be affected by a positioned container (offsetParent) - downside: it no longer sticks to the editor when scrolling
|
|
23365
23366
|
Fit.Dom.InsertAfter(me.GetDomElement(), ctm);
|
|
23366
23367
|
}
|
|
23367
23368
|
};
|