[Bug] 下来菜单组件位置
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
1.22.3
Link to Minimal Reproduction
1.22.3
Steps to Reproduce
1、监听单元格点击事件
2、点击非表头单元格时弹出下拉菜单
3、配置下来菜单content为html webcomponent 组件
Current Behavior
第一次点击,显示下来菜单时位置计算错误,显示到单元格右侧
第二次点击位置显示正确
Expected Behavior
第一次点击位置显示正确
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the dropdown-positioning problem in VTable 1.22.3 using a cell-click handler and an HTML web component as the dropdown content. Trace the first-click position calculation and verify that the menu appears in the correct position on the initial click as well as subsequent clicks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100