Open slowbot opened 5 years ago
These are the issues I've found:
The variable for data should be changed to match the component, since it was renamed from scroll_nav
to jump_nav
.
This component should not produce markup if there is no data. Wrapping the component in {% if jump_nav|length > 0 %} ... {% endif %}
resolves this.
The url_attributes
line below has a bug where it is not reading the attributes from inside the array item:
- {% set url_attributes = url_attributes ? url_attributes : create_attribute() %} %}
+ {% set url_attributes = item.url_attributes ? item.url_attributes : create_attribute() %}
Question(s)
Questions:
Implementation
Aside navigation with in page scroll links
As a member of the JCC Web Services team, I would like to view a “jump nav” web component in the pattern library in order for me to be able to add an aside navigation with in page scroll links.
Fields and Variants
Accessibility
<h2>