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

[comp:IxTooltip]IxTooltip用在弹窗中,页面出现滚动条且滚动到下方时,IxTooltip位置计算有问题 #586

Closed
sjia0307 opened this issue Dec 7, 2021 · 2 comments · Fixed by #660
Assignees

Comments

@sjia0307
Copy link
Contributor

sjia0307 commented Dec 7, 2021

Reproduction link

IxTooltip用在弹窗中,页面出现滚动条且滚动到下方时,IxTooltip位置计算有问题

Steps to reproduce

IxTooltip用在弹窗中,在页面出现滚动条且滚动到下方的情况下。打开弹窗,悬浮到IxTooltip元素上,查看悬浮框位置

What is expected?

IxTooltip位置计算正常

What is actually happening?

IxTooltip位置偏上

Any additional comments? (optional)


Environment Info
@Idux
Browser
@idux-bot
Copy link

idux-bot bot commented Dec 7, 2021

Translation of this issue:

[Comp: ixtooltip] ixtooltip In the pop-up window, the scroll bar is scrolling and scrolling to the bottom, there is a problem with the ixtooltip location

reproduction link

IXTooltip is used in pop-up window, and when scrolling is rolled below, if there is a problem with the ixtooltip location

steps to reproduce

IXTooltip is used in the pop-up window, and if the scroll bar appears on the page and scroll below.Open pop-up window, suspend to ixtooltip elements, view suspension blocks

What is expected?

IXTooltip location is normal

What is actually happens?

IXTooltip position

ANY Additional Comments? (Optional)


ENVIRONMENT INFO
@Idux
Browser

@danranVm
Copy link
Member

cdk-scroll-block 加个了一个 position: fixed 的样式,导致 tooltip 的位置计算不对了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants