Inline footnotes doesn't work in the table at fullscreen

NVIDIA_Share_Yz5WSUm2gc

How to reproduce:

CSS is not applied, and clicking “…” redirects you to the topic.


I did not dive into it too much, but to make it work, this is what you need:

  • inline-footnotes class name must be inserted at the root of the modal. That will also fix the CSS.
  • In generateFullScreenTableModal(), you pass to the modal .footnotes-list element as well.
  • In inline-footnote.js, it expects to find .cooked as the content parent, we can check if an active modal is up and looks for .d-modal__body.
  • Tooltip z-index needs to be adjusted because of the modal.
result

image

I hope that helps!

I am putting pr-welcome on this! thanks for the detailed report.

1 Like