fit-ui 3.5.1 → 3.5.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 +12 -1
- 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: 5, Patch:
|
|
685
|
+
VersionInfo: { Major: 3, Minor: 5, Patch: 2 } // 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
|
|
|
@@ -27168,6 +27168,17 @@ Fit.Controls.Input = function(ctlId)
|
|
|
27168
27168
|
var emojiContentStatus = emojiContent && emojiContent.querySelector(".cke_emoji-status_bar");
|
|
27169
27169
|
emojiContentBlock && (emojiContentBlock.style.height = "220px");
|
|
27170
27170
|
emojiContentStatus && (emojiContentStatus.style.display = "none");
|
|
27171
|
+
|
|
27172
|
+
// Prevent page from scrolling if emoji panel temporarily opens outside of viewport boundaries
|
|
27173
|
+
var emojiContentInput = emojiContent.querySelector("input");
|
|
27174
|
+
if (emojiContentInput !== null)
|
|
27175
|
+
{
|
|
27176
|
+
var emojiContentInputFocus = emojiContentInput.focus;
|
|
27177
|
+
emojiContentInput.focus = function(options)
|
|
27178
|
+
{
|
|
27179
|
+
emojiContentInputFocus.call(this, { preventScroll: true });
|
|
27180
|
+
}
|
|
27181
|
+
}
|
|
27171
27182
|
}
|
|
27172
27183
|
|
|
27173
27184
|
return emojiPanel;
|