Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve dropdown get relative position #222

Merged
merged 1 commit into from
Jul 6, 2021
Merged

fix: improve dropdown get relative position #222

merged 1 commit into from
Jul 6, 2021

Conversation

mortalYoung
Copy link
Collaborator

@mortalYoung mortalYoung commented Jul 6, 2021

简介

  • 修复 dropdown 在某些情况下定位出现问题的 bug

主要变更

  • 原因在于在获取 相对定位的时候,实际上不需要去考虑视图外的区域,只需要考虑可视区域即可

Related Issues

Closed #221

@wewoor wewoor merged commit e46c5de into main Jul 6, 2021
@wewoor wewoor deleted the fix/dropdown branch July 6, 2021 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The Dropdown show in incorrect position
2 participants