material icon indicating copy to clipboard operation
material copied to clipboard

md-tooltip does not position correctly with vertical scroll

Open dragonflypl opened this issue 11 years ago • 17 comments

Hi,

in my app my md-content has vertical scroll. When I hover over button to show tooltip and scroll has position 0, then tooltip appears in correct place. But when I scroll down, tooltip does not follow the scroll. Is appears over the button. Is it a bug or do I have something wrong with my layout? (I use flexbox...). Or maybe you could help me with telling how tooltip positions itself?

Thanks, Paweł

dragonflypl avatar May 09 '15 22:05 dragonflypl

I have the same behaviour too :(

edoardocavazza avatar May 22 '15 17:05 edoardocavazza

It exists on current version of documentation:

These docs were generated from (v0.9.4 - SHA 2c41f0f) on (2015-05-15 05:44:27 -0700) GMT.

eg. https://material.angularjs.org/latest/#/layout/grid on Chrome 39, when accessing tooltips for "View Source"

dragonflypl avatar May 26 '15 09:05 dragonflypl

+1. Is there any workaround possible? I use tooltips for a database scroll and the tooltips doesn't work at all currently in rc3. Thanks

dohomi avatar Nov 09 '15 19:11 dohomi

I have looked into this briefly. I suspect #5654 might help here.

SanderElias avatar Nov 11 '15 15:11 SanderElias

Same Problem here (rc3)... happens when scrolling inside md-content

jschlieber avatar Nov 12 '15 13:11 jschlieber

+1

breity avatar Nov 12 '15 22:11 breity

+1 (rc4)

r0b- avatar Nov 14 '15 13:11 r0b-

@r0b- Can you check if #5809 works for you too? If so, you can close your PR please?

SanderElias avatar Nov 18 '15 14:11 SanderElias

Looks good - Thanks!

r0b- avatar Nov 19 '15 22:11 r0b-

When do you plan to merge it with the master?

vovafeldman avatar Dec 16 '15 19:12 vovafeldman

So is this solved? I'm still getting that alignment problem and can't seem to find a workaround for it.

mkyukov avatar Apr 12 '16 11:04 mkyukov

+1

mawaheb-seraj-devtech avatar May 04 '16 08:05 mawaheb-seraj-devtech

This issue is closed as part of our ‘Surge Focus on Material 2' efforts. For details, see our forum posting @ http://bit.ly/1UhZyWs.

ThomasBurleson avatar Jun 02 '16 14:06 ThomasBurleson

Still happening on 1.0.9. Tooltip is showing, but the position is incorrect. It's out of the visible portion of the page, close to the top.

Darksoulsong avatar Jun 07 '16 18:06 Darksoulsong

+1

dohomi avatar Jun 08 '16 00:06 dohomi

Had same issue and modified the ns-tooltip's position from "absolute" to "fixed" and it looks fixed. Got the idea from the denied PR #5809 by @SanderElias , which actually uses this same logic but the use case seems narrow for my scenario so use with care.

Using version 1.1.0-rc2.

lolptdr avatar Jul 07 '16 17:07 lolptdr

Kudo's to you, @lolptdr, for coming up with a solution for something that seems pretty trivial but still got the annoying 'blanket wontfix' answer.

michahell avatar Nov 10 '16 15:11 michahell