Separate selectors for modal overlay cutout target and popper target
维护者通常 3 天内回复
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- frontend
调研方向
首先,跟踪 issue 中描述的 attachTo 配置,以及 modal overlay、popper target 和 overlay cutout 的行为。为 popper 和 cutout 目标分别定义选择器,同时保留仅提供一个目标时的当前行为;完成标准是 tooltip 箭头可以独立于 cutout 指向橙色按钮。
由索引模型根据 Issue 内容生成。
描述
I'm using the modal overlay in my Shepherd tour, but I'd like to point the tooltip at a specific element that's inside the cutout area. Here's an example, I'd like the tooltip to point directly at the orange button. I tried using left-start to move it to the top, but unfortunately no amount of configuration will get the arrow to point directly at the button:
It'd be great if attachTo had an optional second element attribute for either popper target, or the overlay cutout target, so that they can be two separate elements. By default they should both be the same. Not sure if you'd rather an option for each, or go with just one or the other.
- 主要语言
- 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
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
capricorn86/happy-dom#2485 ·
维护者通常 2 天内回复
-
难度 2/5 1 小时以内 新手友好度 74/100
siyuan-note/siyuan#20429 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
yjh051108/dsh-routing-suite#216 ·
-
[Bug] Completion info popup (.cm-completionInfo) ignores the configured editor font可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug user-priority/P2
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复