-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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 appeaers in the opposite side of the screen (RTL) #1085
Comments
I'm having this same issue. Here is a plunk showing the issue. |
@andrewseguin this should likely do the same thing Kara is doing in |
Talked with @EladBezalel and he came up with a suggestion to support RTL/LTR but also provide a way to enforce placement regardless of direction. He suggested having the states Left, Right, Top, Bottom for hard-coding where the tooltip will appear. In addition, the states Start and End would respect left/right depending on RTL/LTR. What do you guys think about this? |
In which situations would you want |
Having a fixed position element that is not related to the layout? |
@EladBezalel do you have a specific example in mind? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Tooltip appeaers below / in right of / in left of the object
What is the current behavior?
Tooltip appears in the wrong position, hidden in screen corners. (RTL pages)
My app has 2 sidebars:
I have MdList in my Left sidebar, and [md-tooltip] on each item.
The tooltip appears in the right side of my screen, at the end of the right (not the left!) sidebar, in a total wrong position and the other side of the screen.
Tested also outside the md list, and it still showing in a wrong position.
What are the steps to reproduce?
Having 2 sidebars, left and right.
Put a link with md tooltip, and the tooltip will appears in the other side of the screen.
Might work with bugged position on any RTL website, not sure
What is the use-case or motivation for changing an existing behavior?
Md Tooltip supports RTL websites
Which versions of Angular, Material, OS, browsers are affected?
Angular 2 Rc.5, material v7-4
The text was updated successfully, but these errors were encountered: