getTooltipContainer虽然能够指定父元素,但是不受父元素控制
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
从 getTooltipContainer 的行为入手,复现所描述的固定 dropdown 场景,并注意当指针进入内容时父 tooltip 的 onMouseLeave 事件。该 issue 未指定文件或测试;完成的标准是进入 tooltip 内容时父级交互按预期运行,并为该场景添加回归检查。
由索引模型根据 Issue 内容生成。
描述
**** If you don't understand Chinese, please leave a message.****
The title is getTooltipContainer can specify a parent element but is not controlled by the parent element.
场景:
如下图,这个下拉列表是固定的,里面使用了tooltips这个组件。

确实也是放在DOM元素里面了,如下图:

组件的使用的如下:

监听的是tooltip父组件的onMouseLeave事件。
但是鼠标在进入tooltips的content里面的时候,还是依然会触发tooltip父组件的onMouseLeave事件。
请问这个是什么原因?谢谢
- 主要语言
- TypeScript
- 星标
- 944
- 派生
- 199
- 平均合并
- 19 小时 1 分钟
- 30 天内合并 PR
- 3
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-component/tooltip 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 64/100
react-component/tooltip#510 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
react-component/tooltip#499 · 1 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 35/100
react-component/tooltip#488 · 4 条评论 · 2 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 35/100
react-component/tooltip#487 ·
-
难度 3/5 1-2 天 新手友好度 35/100
react-component/tooltip#483 ·
查看 react-component/tooltip 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
0xMiden/bridge-portal#132 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
area:tools bug good first issue help wanted priority:P2
难度 2/5 1-3 小时 新手友好度 90/100
TaewoooPark/Motifcode#14 ·
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
newrelic-experimental/preflight#793 · 1 条评论 ·