Footnotes within <details>

Created on 24 April 2025, 4 days ago

Problem/Motivation

The Footnotes module currently renders the footnote dialog inside elements when used in structured content such as accordions or collapsible sections. This causes a display issue – when the element is collapsed, clicking a footnote citation anywhere else on the page does not show the dialog, as it remains hidden within the closed section.

Steps to reproduce

1. Add a element as the first element on the page and place footnote citations inside it.
2. Add other text blocks underneath and place footnote citations inside it.
3. View the rendered page and click any footnote citation outside of the accordion.
4. Observe that the dialog may be hidden, misaligned, or not function as expected.

Proposed resolution

Update the JS so that any dialog found within a element is then moved outside of this.

🐛 Bug report
Status

Active

Version

4.0

Component

Footnotes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024