Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

tooltip not visible when on a paper-tab #113

Open
3 tasks done
davidmaxwaterman opened this issue Aug 2, 2017 · 4 comments
Open
3 tasks done

tooltip not visible when on a paper-tab #113

davidmaxwaterman opened this issue Aug 2, 2017 · 4 comments

Comments

@davidmaxwaterman
Copy link
Contributor

Description

Putting a paper-tooltip on a paper-tab seems to cause it to not work.

Expected outcome

tooltip appears

Actual outcome

no tooltip

Live Demo

https://jsbin.com/feqadomede/edit?html,console,output

Steps to reproduce

  1. open demo
  2. pass cursor over paper-spinner
  3. (aside: note errors in console - not sure what they're about)
  4. note that tooltip appears
  5. uncomment out the paper-tabs and paper-tab elements
  6. pass cursor over paper-spinner
  7. note that no tooltip appears

Browsers Affected

  • Chrome
  • Firefox
  • [?] Safari 9
  • [?] Safari 8
  • [?] Safari 7
  • Edge
  • [?] IE 11
  • [?] IE 10
@ernsheong
Copy link

ernsheong commented Aug 9, 2017

I am seeing this issue as well. The paper-tooltip cannot seem to escape the boundaries of the paper-tab

image

@web-padawan
Copy link

The reason is this row enforcing stacking context to appear.

FWIW, Material Design spec says nothing about tooltips in tabs.

@ernsheong
Copy link

Thanks for the response. Looks like I'll have to drop it and find another way to explain terminology to users (as you can see, it's help text for tabs, maybe put the tooltip somewhere else), or roll my own (I'm not religious about Material Design 😄 ).

Putting it somewhere else looks like the easiest way forward!

@ernsheong
Copy link

ernsheong commented Aug 9, 2017

Here's some ugly that works for now to make paper-tooltip appear from within paper-tab:

--paper-tabs: {
  overflow: visible;
}

--paper-tabs-container: {
  overflow: visible;
}

--paper-tab: {
  overflow: visible;
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants