materialize icon indicating copy to clipboard operation
materialize copied to clipboard

Tooltip for icon (or any element> within a table cell doesn't display tip.

Open idevtech opened this issue 8 years ago • 1 comments

If a tooltip is defined w/in a table cell such as for the icon in the following code sample the tip is not displayed. Move the icon element out of the table cell into a div element and it works.

<td><i class="material-icons tooltipped" data-position="bottom" data-delay="50" data-tooltip="View PDF">pageview</i></td>

idevtech avatar Feb 22 '18 01:02 idevtech

I was facing the same issue, and it seems to happen when we tray to render the table and when we initialize the tooltip, we should initialize the tooltip after the table is rendered because if not the tooltip element won't be created in the HTML file.

I test it with a timer just to make sure that it was the problem, and it works well.

maykoestevez avatar Jan 26 '20 12:01 maykoestevez