Created
November 13, 2017 09:52
-
-
Save xieyunzi/169157c3287bb244e34553694940a620 to your computer and use it in GitHub Desktop.
bearychat 键盘滚动
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var el = document.querySelector("div[class^=viewport-]"); el.scrollTop = (el.scrollTop + el.clientHeight - 40); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment