diff --git a/ElvUI_Config/Core.lua b/ElvUI_Config/Core.lua index 5610249..539db28 100644 --- a/ElvUI_Config/Core.lua +++ b/ElvUI_Config/Core.lua @@ -285,9 +285,11 @@ local function ExportImport_Open(mode) box.editBox:SetScript("OnTextChanged", function() if this then box:SetText(exportString) - box.editBox:HighlightText() + this:HighlightText() end + box.scrollFrame:UpdateScrollChildRect() + box.scrollFrame:SetVerticalScroll(box.scrollFrame:GetVerticalScrollRange()) end) elseif mode == "import" then frame:SetTitle(L["Import Profile"]) diff --git a/ElvUI_Config/Libraries/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua b/ElvUI_Config/Libraries/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua index 353f498..d374c2a 100644 --- a/ElvUI_Config/Libraries/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua +++ b/ElvUI_Config/Libraries/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua @@ -217,9 +217,6 @@ local function OnSizeChanged() -- ScrollFrame end local function OnTextChanged() -- EditBox - this:UpdateScrollChildRect() - this:UpdateScrollState() - this:SetVerticalScroll(this:GetHeight()) local self = this.obj local value = this:GetText() if tostring(value) ~= tostring(self.lasttext) then