-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
change requestIssue requests a new feature or improvementIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Description
If you click on the footnote arrow at the bottom of the page and footnote is inside details it doesn't jump to the note (when details is closed).
Expected behavior
Appropiate details should be opened when you click on the footnote arrow and it should jump to the note.
Actual behavior
Clicking on the arrow doesn't work when footnote is inside details and details is closed.
Steps to reproduce the bug
- Create footnote in details.
- Click on the footnote arrow at the bottom of the page (
detailsmust be closed).
Package versions
- MkDocs: 1.12.1
- Material: 0.16.3
Project configuration
Irrelevant
System information
Irrelevant
Possible fix:
- Detect if footnote is inside details
- If yes - preventDefault(), if no - normal behaviour
- Check if details is opened, if yes - change hash in the url, if no - open it and change hash in the url
Metadata
Metadata
Assignees
Labels
change requestIssue requests a new feature or improvementIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open