-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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] After the table is sorted, the tooltip is misplaced #7453
Comments
Thanks for reporting. We'll look into it. |
squidfunk
added
the
needs investigation
Issue must be investigated by the maintainers
label
Aug 19, 2024
Fixed in e5c9575. Here's what happened and how it's fixed: mkdocs-material/src/templates/assets/javascripts/components/tooltip2/index.ts Lines 138 to 148 in e5c9575
|
squidfunk
added
bug
Issue reports a bug
resolved
Issue is resolved, yet unreleased if open
and removed
needs investigation
Issue must be investigated by the maintainers
labels
Aug 19, 2024
We'll leave it open until released. |
Released as part of 9.5.33. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
1.6.0
9.5.31
3.12.0
5.3.0
Bug description
The way I added sorting to the table is what the documentation mentioned: https://squidfunk.github.io/mkdocs-material/reference/data-tables/#sortable-tables
When I use the following code to create a table, a bug occurs:
Before sorting, the position of this tooltip (
"A"
) is correct:But after sorting, this tooltip is misplaced:
It was only when I re-scrolled the page that it came back to the correct place.
Related links
Reproduction
9.5.31-bug.zip
Steps to reproduce
Browser
Edge
Before submitting
The text was updated successfully, but these errors were encountered: