-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] dbc.Popup no longer works for table column headers #2333
Comments
hi @dnordfors On another note, would you be able to add a minimal working example code to your issue; a piece of code that our engineers can copy and run the app example locally? |
Hi @Coding-with-Adam Can your engineers make a demo code snippet for a dbc.Popup targeting a datatable column header, triggered by hover? Sorry, can't provide the minimal working example since I have developed my code in the meanwhile and the new code depends on the new versions of Dash and dash-bootstrap-components. Sorry about the delay - looking forward to hearing back |
@dnordfors, I see that your example involves passing something that looks like a fully specified CSS selector in as the value of the dbc.Popopver However it looks I've seen someone else say that targeting specific classes works here. It certainly wouldn't be expected to work now. Perhaps @tcbegley can weigh in on whether this was ever supported with by Dash Bootstrap Components? |
This was never intentionally supported, it's interesting to know that it did apparently work at some point. Possibly when we updated the Reactstrap dependency it became more flexible. AFAICT if it ever did work, it won't have worked since v1 was released (October 2021) and we made some major internal changes in order to support Bootstrap 5. |
Cheers @tcbegley :) Unfortunately @dnordfors this isn't a bug that was introduced in either Dash or DBC, but rather some unsupported behaviour that happened to to do what you needed previously but no longer. |
Thank you so much for helping improve the quality of Dash!
We do our best to catch bugs during the release process, but we rely on your help to find the ones that slip through.
Describe your context
Please provide us your environment, so we can easily reproduce the issue.
pip list | grep dash
belowDescribe the bug
I want a dbc.Popup to appear when I move the mouse to the column header. Until recently, this worked - but it stopped working after I upgraded dash and dash-bootstrap-components.
The bug was confirmed by a Plotly team member in this thread: https://community.plotly.com/t/re-what-is-the-id-for-a-datatable-column-header/69596
The discussion thread did not find a solution so I am submitting the bug report here.
Expected behavior
A dbc.Popup appears when I move the mouse over a column header. It works like the DataTable column tooltip with richer functionalities.
Screenshots
The text was updated successfully, but these errors were encountered: