arco-design-vue
arco-design-vue copied to clipboard
fix(trigger): fix arrow position error
Types of changes
- [ ] New feature
- [x] Bug fix
- [ ] Enhancement
- [ ] Component style change
- [ ] Typescript definition change
- [ ] Documentation change
- [ ] Coding style change
- [ ] Refactoring
- [ ] Test cases
- [ ] Continuous integration
- [ ] Breaking change
- [ ] Others
Background and context
获取arrow样式时没有获取popup最新的位置,导致arrow位置错误
https://codesandbox.io/s/h9rr3c?file=/src/App.vue

Solution
在更新popup位置后获取arrow样式
How is the change tested?
Changelog
| Component | Changelog(CN) | Changelog(EN) | Related issues |
|---|---|---|---|
trigger |
修复arrow定位错误 | fix arrow position error | https://github.com/arco-design/arco-design-vue/issues/1475 |
Checklist:
- [ ] Test suite passes (
npm run test) - [ ] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
- [ ] Changes are submitted to the appropriate branch (e.g. features should be submitted to
featurebranch and others should be submitted tomainbranch)
Other information
@wehuss 你那里是可以稳定复现吗,我这里看提供的复现地址是好的
@flsion 我可以稳定复现 系统是Windows 11 专业版 Insider Preview22H2 浏览器是Chrome 104.0.5112.101(正式版本) (64 位)
组件在我浏览器上的表现
codesandbox中:
官网中:

我这里也是正常的 mac
- Chrome 版本 104.0.5112.79(正式版本) (x86_64)
- Safari 版本15.5 (17613.2.7.1.8)
@wehuss 麻烦发一下控制台,或者 hover 的 tooltip 箭头的定位样式的信息吧
该 PR 暂时关闭,有有效的复现案例可重新提交 issue 后处理 。
该 PR 暂时关闭,有有效的复现案例可重新提交 issue 后处理 。
这似乎是windows平台特有的问题
该 PR 暂时关闭,有有效的复现案例可重新提交 issue 后处理 。
这似乎是windows平台特有的问题
@wehuss 嗯,这边 mac + chrome 没有复现的,可以提交一个新的 issue(系统,浏览器,以及一个复现案例地址),大家测试讨论下看。
@wehuss 抱歉 😅 ,这里 browserstack 测试,win11,chrome104,是会出现该问题。