pcoenen Posted July 30, 2021 Share Posted July 30, 2021 Hi, I'm trying to scrolldown to the end of my UniMemo using the following code but this doesn't seem to work. mmRunTimeLog.JSInterface.JSCall('inputEl.scrollTo', ['bottom']); Any idea what I could be doing wrong? Using uniGUI v1.90.0.1551 Regards, Pascal Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 30, 2021 Share Posted July 30, 2021 18 minutes ago, pcoenen said: I'm trying to scrolldown to the end of my UniMemo Hello, One possible solution: with UniMemo1 do JSInterface.JSCode(#1'.getEl().down("textarea").dom.scrollTop='#1'.getEl().down("textarea").dom.scrollHeight;'); Quote Link to comment Share on other sites More sharing options...
pcoenen Posted July 31, 2021 Author Share Posted July 31, 2021 Thank you, works just fine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.