Skip to content

Tooltip expands outside of viewport #2671

@david-kerwick

Description

@david-kerwick

Bug, feature request, or proposal:

Feature

What is the expected behavior?

Tooltip should wrap or move to another 'side'
Something like what bootstrap seems to do
https://codepen.io/anon/pen/MJjqaE

What is the current behavior?

screen shot 2017-01-16 at 13 47 04

What are the steps to reproduce?

https://plnkr.co/edit/YLGWc42i4AGQXh9o4USg?p=preview
Setting to right or left shows it more dramatically

What is the use-case or motivation for changing an existing behavior?

If the tooltip is on an item that's close to the edge of the viewport it's easy for the content to flow off screen

Is there anything else we should know?

I think it's been mentioned in a comment before but I couldn't find an issue on it
#1830 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions