Open PFight opened 3 years ago
Probably fix:
if (!isHorizontal) {
// При вертикальном отображении left и right показывают - помещается ли содержимое по горизонатали в границах экрана
directions.top = directions.top && directions.left && directions.right;
directions.bottom = directions.top && directions.left && directions.right;
}
When tooltip shows to top, it do not check, that it's content visible on screen: