Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slot explanation paragraph sometimes gets displayed multiple times on a page #921

Open
GCHQ-Developer-847 opened this issue Apr 25, 2024 · 0 comments
Labels
type: bug 馃悰 An unexpected problem or unintended behaviour

Comments

@GCHQ-Developer-847
Copy link
Contributor

GCHQ-Developer-847 commented Apr 25, 2024

Summary of the bug

On pages for components which have subcomponents, the paragraph above the slots tables (explaining what slots are) gets repeated multiple times throughout the page.

馃獪 How to reproduce

  1. Go to the top navigation code page, for example.
  2. Scroll down through the sections for the different subcomponents e.g. "Navigation item details", "Navigation button details".
  3. See that the paragraph under the "Slots" headings is displayed once for each subcomponent slot table, and it is therefore repeated multiple times.

馃摳 Screenshots or code

This is the paragraph that is repeated:

馃 Expected behaviour

While this is not a huge deal, it does mean that there is a lot of redundant information being displayed. It should really only be shown once per page at most.

@GCHQ-Developer-847 GCHQ-Developer-847 added the type: bug 馃悰 An unexpected problem or unintended behaviour label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 馃悰 An unexpected problem or unintended behaviour
Projects
Status: No status
Development

No branches or pull requests

1 participant