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

ToolTip appears to be stuck on the screen. #6479

Open
Aizaz-Ulhaq opened this issue Mar 3, 2021 · 3 comments
Open

ToolTip appears to be stuck on the screen. #6479

Aizaz-Ulhaq opened this issue Mar 3, 2021 · 3 comments

Comments

@Aizaz-Ulhaq
Copy link

@Aizaz-Ulhaq Aizaz-Ulhaq commented Mar 3, 2021

Reproduction link

https://codesandbox.io/s/friendly-tharp-b3gql?file=/src/app/app.component.html

Steps to reproduce

1- Import slider component.
2-use the slider along with the tooltip somewhere on the page so that you have to scroll to it.
3- use tooltip with slider and set ```[nzTooltipVisible]="'always'"````.

Optional: go to this documentation Page!
There you will see the Tooltip stuck to the bottom of your screen.

What is expected?

Should not be visible until scrolled to it.

What is actually happening?

always visible on the screen even if it's underneath a lot of markup and you have to scroll to it.

Environment Info
ng-zorro-antd 11.2.0
Browser Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 OPR/73.0.3856.400
@stygian-desolator
Copy link
Collaborator

@stygian-desolator stygian-desolator commented Mar 15, 2021

This issue is caused when using cdkConnectedOverlayPush as true, perhaps we should leave the parameter open for the user to decide whether or not to allow the tooltip to be attached to the edge 🤔

the relevant PR

@wendellhu95
Copy link
Member

@wendellhu95 wendellhu95 commented Mar 15, 2021

This issue is caused when using cdkConnectedOverlayPush as true, perhaps we should leave the parameter open for the user to decide whether or not to allow the tooltip to be attached to the edge 🤔

the relevant PR

Good idea. PR is welcome!

@zorro-bot
Copy link

@zorro-bot zorro-bot bot commented Mar 15, 2021

Hello @Aizaz-Ulhaq. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please fill the Pull Request Template here, provide documentation/test cases if needed and make sure CI passed, we will review it soon. Appreciate it advance and we are looking forward to your contribution!

你好 @Aizaz-Ulhaq, 我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献!
giphy

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

Successfully merging a pull request may close this issue.

None yet
3 participants