editor组件在获取焦点的时候怎么让悬浮层悬在软键盘上方?

发布于 9 年前作者 weijin10147 次浏览最后编辑 9 年前来自 issues
1 回复
wei36
wei361 楼6 年前

wx.onKeyboardHeightChange 监听键盘高度变化,设置浮窗位置?

wx.onKeyboardHeightChange(res => {

 console.log(res.height)})

})