【bug】点击input无法获取焦点
wxss
.container { height : 100% ; display : flex; flex- direction : column; } .table { flex: 1 ; } .chat { height : 50px ; } page { height : 100% ; } |
wxml
< view class = "container" > < view class = "table" > </ view > < view class = "chat" > < input placeholder = "String" /> </ view > </ view > |
使用flex布局将input固定在屏幕底部,点击input无法获取焦点,textare同样。(只在devtool中测试,未在真机中测试)