css - ngx-material-timepicker:iPhone css 忽略“位置:固定”
问题描述
我创建了一个 StackBlitz 来重现:https ://stackblitz.com/edit/angular-rdzdxx
它有一个带有以下 css 的 ngx-material-timepicker:
.timepicker-backdrop-overlay[_ngcontent-c23] {
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
background-color: rgba(0,0,0,.3);
z-index: 999;
pointer-events: auto;
}
解决方案
是的@dmcgrandle,这似乎是 z-index 问题。但是我找到了一个带有以下代码的补丁。'custom-tabbar'
在标签栏顶部添加并覆盖 CSS,如下所示。
.custom-tabbar .mat-tab-body-active {
overflow: visible !important;
position: static;
}
我没有签入 iPhone,但我签入了模拟器。希望它对你有用。
推荐阅读
- python - 在 OMpython 中使用 OPCUA 进行交互式仿真
- jmeter - 动态并行 HTTP 请求
- boto3 - botocore.exceptions.ClientError:发生错误(AccessDeniedException)
- node.js - mongoDB排序命令没有返回正确的值
- python - 使用 tkinter 显示和保存饼图
- python - 如何删除电报 api 中的队列更新?
- python - Python,用“with”语句包装函数的装饰器
- ios - 在 Cloud Kit 中获取 CKAsset 的大小
- ffmpeg - HW Accel 转码 Intel 快速同步视频 QSV h264_qsv 和 CRF 质量
- haskell - 为什么它是最外层的redex?