-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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 misplacement fixes #14767
Tooltip misplacement fixes #14767
Conversation
Don't mind the git issues for now. |
placement == 'top' && pos.top - containerDim.scroll - actualHeight < containerDim.top ? 'bottom' : | ||
placement == 'right' && pos.right + actualWidth > containerDim.width ? 'left' : | ||
placement == 'left' && pos.left - actualWidth < containerDim.left ? 'right' : | ||
placement = placement == 'bottom' && pos.bottom + actualHeight > containerDim.bottom ? 'top' : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please adjust the spacing so that the operators remain vertically aligned, like they were in the old version.
@cvrebert If you pull down the changes with |
@hnrch02 r |
Yes, but you aren't just adding tests you also fixed a bug and that bug would need to be caught by a new test so that there won't be any regression about it. |
b4897b5
to
d2cd613
Compare
Thanks for contributing again, @Matrixz! |
Fixes #14756.
Successor to #14763.
Fixed jsbin