css - 在android mobile上滚动后,位置固定表结构内的按钮无法单击
问题描述
我有一张position: fixed; bottom: 0
桌子,里面有一个按钮。
它在普通浏览器和 ios 浏览器上看起来和工作正常。
但是,如果我们在 Android Chrome 浏览器上尝试该表,则可以在显示 url 栏时单击该按钮,但在您向下滚动一点并使 url 栏消失后。该按钮不再可点击。
这是我的 HTML 结构和 css :
.Wrapper {
z-index: 10;
height: 72px;
width: 100%;
position: fixed;
top: inherit;
bottom: 0;
left: 0;
right: 0;
}
<Wrapper>
<table>
<tbody>
<tr>
<td>Some text here</td>
<td><button type="button" onClick={this.clickFunction}>Click Me!</button></td>
</tr>
</tbody>
</table>
</Wrapper>
解决方案
推荐阅读
- rasa-nlu - 在 Dialogflow 和 Watson 等意图中列出实体
- vue.js - Symfony Encore (Pimcore) + Vuetify
- java - 关于异或,“arr[i] ^= 1”和“arr[i] ^1”有什么区别?
- paraview - Paraview中的攻角
- reactjs - 过滤数据不
在 ReactJS Firebase 之前 - python - 根据熊猫数据框中的条件获取最大值和最小值
- javascript - 块供应商文件在生产中太大
- sql - 递归 SQL 查询以获取零件的所有组件
- google-analytics - 使用 Google Analytics 为 Google 表格添加的目标完成数未显示正确的数字
- python-3.x - 组合框位于网格的中间