patternfly / patternfly-elements

PatternFly Elements. A set of community-created web components based on PatternFly design.
https://patternflyelements.org/
MIT License
375 stars 85 forks source link

pf-jump-links : "Scrollspy with subsections" isn't working as expected. #2719

Closed Atm06 closed 3 months ago

Atm06 commented 3 months ago

While toggling the button for jumping to a specific section from vertical to horizontal, the jump links aren't getting displayed in a proper manner (alignment is not correct) . However, that particular component is not working as expected.

Steps to reproduce:

  1. Navigate to [ http://localhost:/components/jump-links/demo/scrollspy-with-subsection/ ] after cloning " https://github.com/patternfly/patternfly-elements "

  2. Locate the jump links section.

  3. Toggle the button to switch from vertical to horizontal mode.

  4. Observe the placement of the jump links in horizontal mode.

Expected behavior: The jump links in horizontal mode should align properly within the designated area without overlapping the sidebar.

Actual behavior: The jump links in horizontal mode are positioned slightly to the left over the sidebar, affecting the layout and visual presentation.

Screenshot from 2024-03-22 14-55-53

Impact:

Please have a look at this below Screen Cast for reference:

Screencast from 2024-03-22 14-55-10.webm