Skip to content
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 is not hidden in Vaadin 18 #6

Open
javier-godoy opened this issue Jan 22, 2021 · 1 comment
Open

Tooltip is not hidden in Vaadin 18 #6

javier-godoy opened this issue Jan 22, 2021 · 1 comment

Comments

@javier-godoy
Copy link
Member

When used in a Vaadin 18 application (Vaadin 18.0.5 and vcf-tooltip 1.3.11) a small rounded rectangle remains visible after moving the mouse away from the target component.

tooltip

  render() {
    return html`    
<vaadin-button id="submit-button" theme="primary">Submit</vaadin-button>
<vcf-tooltip id="submit-button-tooltip-id" for="submit-button" position="top" align="left">
Submit
</vcf-tooltip>
   `;
  }
@javier-godoy
Copy link
Member Author

Seems to be fixed with:

registerStyles('vcf-tooltip', css`
 :host([hidden]) [part='container'] {
  display: none !important;
 }
`);

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

No branches or pull requests

1 participant