You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
Omitting the target property of a paper-tooltip (causing it to target its parent by default) causes weird size calculations if there isn't enough horizontal space.
It seems like the position calculations are incorrect in this case in updatePosition.
Expected outcome
Tooltip doesn't wrap unless necessary, and doesn't overflow off the page.
Description
Omitting the
target
property of a paper-tooltip (causing it to target its parent by default) causes weird size calculations if there isn't enough horizontal space.It seems like the position calculations are incorrect in this case in
updatePosition
.Expected outcome
Tooltip doesn't wrap unless necessary, and doesn't overflow off the page.
Actual outcome
Tooltip wraps unnecessarily. (screenshot)
Live Demo
http://jsbin.com/bayipasaro/1/edit?html,output
Steps to reproduce
position
set totop
orbottom
.Browsers Affected
The text was updated successfully, but these errors were encountered: