I am looking to incorporate both click
and hover
events for tooltip content within the cells of the Fixed Data Table component. Currently, I am utilizing react-tippy for tooltips with the use of the html
option to create a dropdown menu. While I can display the tooltip, I am facing difficulties in adding additional events for the content inside the tooltips.
The onMouseEnter
and onClick
events in the .actions-list__item
within the ActionCell.jsx are not being triggered.
react-tippy-data-table.firebaseapp.com
https://i.sstatic.net/LhQW2.png
I encountered issues running react-tippy in JSFiddle, hence I deployed an example project on Firebase.
Table.jsx
import React, { Component } from 'react';
// Remaining code from Table.jsx...
ActionCell.jsx
import React from 'react';
// Remaining code from ActionCell.jsx...