adopted-ember-addons / adopted-ember-addons/ember-paper

Tooltips for {{paper-input}}

Aberta
#1,087 2 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
879
Forks
327
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hi there!

I'm trying to implement a tooltip feature for the paper-input component. I'm not able to get it to render when placed inside of the `label` tag. When I move it out of the `label` tag it renders without any problems.

Is there any reason for this? I've tried playing around with various css properties without any success.

![image](https://user-images.githubusercontent.com/3945623/58709317-e823e180-8387-11e9-8ddc-21ead238d426.png)

```hbs
{{#if label}}

{{label}}

{{#if tooltip}}
{{#paper-icon "info"}}
{{#paper-tooltip position="right"}}{{tooltip}}{{/paper-tooltip}}
{{/paper-icon}}
{{/if}}

{{/if}}
```

Cheers!

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.