datajoint-python
datajoint-python copied to clipboard
Table attribute tooltip display position in Jupyter Notebook
The HTML tooltip that displays when you hover over the HTML rendered table in Jupyter Notebook doesn't work so well when the table is long horizontally such that the entire table does not display fully (i.e. there is a horizontal scroll bar in the cell displaying the table). The tooltip is designed to appear immediately below the original location that the column attribute was rendered and thus this can be actually hidden from the cell's view. Even if not hidden, the moment you scroll the table cell horizontally, the tooltip's horizontal location is no longer aligned to the attribute it's associated with.
A potential way to get around this problem is to display the tooltip at the mouse location.
how can this be fixed?
I am not sure how this can be done. Moving to 0.13
I think this is a Jupyter issue and I am not sure if there is anything we can do other than redirecting it to the jupyter team.
I actually think this is a CSS issue and thus not Jupyter issue.
I am not sure if this is both present in the classical Jupyter notebook and in Jupyter lab? I only saw it in lab so far. Would be great if it could be fixed!
In either case, this is really not an issue we can fix in datajoint, right?
It is - we wrote the code that displays the DataJoint table. It is entirely on us to fix it 😄