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

Paper-tooltip not visible in iron-list due to different stacking context #80

Open
3 tasks done
agthenbo opened this issue Jul 14, 2016 · 5 comments
Open
3 tasks done

Comments

@agthenbo
Copy link

agthenbo commented Jul 14, 2016

Description

paper-tooltip is not visible for elements in an iron-list

Expected outcome

paper-tooltip appears above sibling stacking contexts

Actual outcome

paper-tooltip invisible below sibling stacking contexts

Live Demo

https://jsfiddle.net/pt6crtfb/3/

Steps to reproduce

  1. Put an iron-list element in the page and associate multiple items.
  2. Add an element with an opaque background and a corresponding paper-tooltip to the iron-list/template
  3. Open the browser and hover over the first element in the iron-list to show the tooltip
  4. Change the CSS to set the element background transparent
  5. Repeat step 3

Browsers Affected

  • Chrome
  • Firefox
  • [?] Safari 9
  • [?] Safari 8
  • [?] Safari 7
  • [?] Edge
  • IE 11
  • [?] IE 10

To resolve the issue locally, I've experimented with moving the paper-tooltip element or its inner div to ownerDocument.body or an appropriate surrogate parent element and adjusting the position in updatePosition, then moving it back in _onAnimationFinish - with no success, as the tree can not be changed without breaking styles and event listeners. Another attempt, forcing higher z-index of all stacking context root ancestors, also causes ugly artifacts and breaks carefully layered pages.

@antwonthegreat
Copy link

Any updates on this issue?

@dominik0711
Copy link

Would be great to be able to use paper-tooltip for list entries!

@ghost
Copy link

ghost commented Aug 3, 2017

any news about this issue?

@jpicus
Copy link

jpicus commented Mar 17, 2021

Same issue here...
But i guess all hope is lost...

@jpicus
Copy link

jpicus commented Mar 18, 2021

Solution that solved : but a z-index=1 on component displayed when the mouse is on that composant

     ligne-liste:hover{
     z-index:1;
      }

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

4 participants