weex在android下面软键盘的问题,不能自动弹出,也不能自动关闭
PHPz
PHPz 2017-04-18 09:16:41
0
1
1302

有input组件的时候,如果用户不关闭软键盘,然后导航到别的页(我用的是路由vue-router),软键盘会一直在,不会自动关闭。
同样如果用户关闭了软键盘,再次要输入内容时软键盘又不自动弹出。

通过blur方法关闭键盘,下次也同样不能弹出软键盘

PHPz
PHPz

学习是最好的投资!

reply all (1)
黄舟

Before routing, you can close the keyboard through the blur method, navigate to another page to automatically pop up, set the input autofocus="true", or pass this.$refs.input.focus()

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!