Pinch zooming gestures breaking overlay on Android (Brave) and iPad (Safari)
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- frontend
调研方向
使用 iPad Safari 和 Android Brave 在 Shepherd 演示中复现该问题,然后跟踪 overlay 对 pinch zooming 和 visual-viewport 变化的处理。完成的标准是:在触摸设备缩放后,overlay 仍与文档保持对齐,并继续阻止其外部的交互,同时保留 Chromebook 和桌面端上已经正常工作的行为。
由索引模型根据 Issue 内容生成。
描述
Version: 11.2.0
Devices: iPad (iOs safari), Android (on Brave)
Pinch zooming on touch devices are causing problems with the overlay, where
the overlay rectangle stays locked to the top left of the layout viewport (this is the main problem), and is the size of the visualviewport (this is fine).
But because the overlay is not moving, part of the document does not have the overlay, which allows you to interact with this part of the document (despite it disallowing pinch and pan gestures), plus the overlay looks weird.
on desktop devices, when you change the zoom level (by doing ctrl+scrolling) the overlay seems to fix itself, but this process does not seem to happen on these touch devices.
This happens on https://shepherdjs.dev/ as well.
On a Chromebook, pinch zooming seemingly works correctly.
- 主要语言
- JavaScript
- 星标
- 13.8k
- 派生
- 656
- 平均合并
- 2 天 6 小时
- 30 天内合并 PR
- 17
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
shipshapecode/shepherd 的其他 Issue
-
Docs: rendering framework components as step content, and why DOM injection belongs in when.show未关闭documentation
难度 2/5 1-3 小时 新手友好度 84/100
shipshapecode/shepherd#3479 ·
维护者通常 3 天内回复
-
难度 3/5 1-2 天 新手友好度 68/100
shipshapecode/shepherd#3555 ·
维护者通常 3 天内回复
-
难度 3/5 1-2 天 新手友好度 52/100
shipshapecode/shepherd#3505 ·
维护者通常 3 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
shipshapecode/shepherd#3442 · 1 条评论 · 2 个 reaction ·
维护者通常 3 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
shipshapecode/shepherd#3146 · 2 条评论 ·
维护者通常 3 天内回复
查看 shipshapecode/shepherd 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
documentation good first issue help wanted
难度 1/5 1-3 小时 新手友好度 85/100
zmo2s/agent-toolbox#23 ·
-
[Bug]: [MCP/CLI] Bare loopback IP addresses (127.0.0.1:port) and hosts with ports fail to navigate due to erroneous scheme inference可能已有人在做 @alok-108 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/playwright#43263 ·
维护者通常 1 天内回复