materialize
materialize copied to clipboard
Tooltip for icon (or any element> within a table cell doesn't display tip.
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>
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.