arco-design-vue icon indicating copy to clipboard operation
arco-design-vue copied to clipboard

fix(trigger): fix arrow position error

Open wehuss opened this issue 3 years ago • 7 comments

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 image image

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 feature branch and others should be submitted to main branch)

Other information

wehuss avatar Aug 03 '22 07:08 wehuss

@wehuss 你那里是可以稳定复现吗,我这里看提供的复现地址是好的

flsion avatar Aug 19 '22 10:08 flsion

@flsion 我可以稳定复现 系统是Windows 11 专业版 Insider Preview22H2 浏览器是Chrome 104.0.5112.101(正式版本) (64 位)

组件在我浏览器上的表现 codesandbox中: slider-codesandbox 官网中: slider-arco

wehuss avatar Aug 19 '22 14:08 wehuss

我这里也是正常的 mac

  • Chrome 版本 104.0.5112.79(正式版本) (x86_64)
  • Safari 版本15.5 (17613.2.7.1.8)

@wehuss 麻烦发一下控制台,或者 hover 的 tooltip 箭头的定位样式的信息吧

hehehai avatar Aug 20 '22 05:08 hehehai

该 PR 暂时关闭,有有效的复现案例可重新提交 issue 后处理 。

hehehai avatar Sep 17 '22 13:09 hehehai

该 PR 暂时关闭,有有效的复现案例可重新提交 issue 后处理 。

这似乎是windows平台特有的问题

wehuss avatar Sep 17 '22 13:09 wehuss

该 PR 暂时关闭,有有效的复现案例可重新提交 issue 后处理 。

这似乎是windows平台特有的问题

@wehuss 嗯,这边 mac + chrome 没有复现的,可以提交一个新的 issue(系统,浏览器,以及一个复现案例地址),大家测试讨论下看。

hehehai avatar Sep 17 '22 14:09 hehehai

@wehuss 抱歉 😅 ,这里 browserstack 测试,win11,chrome104,是会出现该问题。

hehehai avatar Sep 17 '22 14:09 hehehai