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

paper-tab doesn't work with paper-tooltip #181

Open
1 of 8 tasks
malthusyau opened this issue Sep 7, 2016 · 1 comment
Open
1 of 8 tasks

paper-tab doesn't work with paper-tooltip #181

malthusyau opened this issue Sep 7, 2016 · 1 comment

Comments

@malthusyau
Copy link

Description

2 issues

  1. paper-tooltip does not show up when targeted for a paper-tab
  2. paper-tab's disable property sets pointer-event to none, which disables hover.

Expected outcome

  1. paper-tooltip should show up when hovered over the targeted paper-tab
  2. disabling the paper-tab should only disable the clicking/selection, but not hover.

Actual outcome

see demo

Live Demo

https://jsbin.com/xecodotazo/1/edit?html,output

Steps to reproduce

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
@bicknellr
Copy link
Contributor

paper-tabs has overflow: hidden; because your tabs might scroll. You can work around this by placing your tooltip outside of the tabs: https://jsbin.com/cizacan/edit?html,output. This looks like more evidence in favor of #173.

The reason for your second issue is the IronControlState behavior uses pointer-events: none; to disable the element, which also prevents the events that paper-tooltip listens for to decide when to show. I think this portion of the issue might be considered an issue there, since it's not specific to paper-tab(s): https://jsbin.com/tafuraq/edit?html,output.

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

2 participants