-
Notifications
You must be signed in to change notification settings - Fork 106
fix: Jump links styles and browser fixes #1652
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ternfly-elements into fix-jump-links-experience
castastrophe
commented
Jun 3, 2021
Contributor
|
branch testing looks good 👍 |
heyMP
reviewed
Jul 8, 2021
…ternfly-elements into fix-jump-links-experience
heyMP
reviewed
Jul 8, 2021
heyMP
approved these changes
Jul 8, 2021
Contributor
heyMP
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
demo
Updating demo pages
docs
Documentation updates
feature
New feature or request
functionality
Functionality, typically pertaining to the JavaScript.
next release
PRs that need to merge before the next release goes out
priority: high
Severity level: 1
ready: code review
Ready for code review!
ready: design review
run e2e
Trigger automated visual regression tests
size: lg
Sizing label; indicates a very difficult task or large amount of work
styles
An issue or PR pertaining only to CSS/Sass
tests
Related to testing
tools
Development and build tools
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related issues
What has changed and why
pfe-jump-links-panel:active-navItem: when a new item in the nav becomes active, this event is fired for analytics; this is no longer handled by the panel but the event name persists for backwards compatibilitypfe-jump-links-panel:change: fired when the panel or section elements change; used by the autobuilder; calls _panelChangedHandlerpfe-jump-links-nav:stuckresize: on page resize, the rebuild method is calledscroll: handles updating the active states when the page is scrolledkeyup: this is a stub and needs to be addressed at a later date (@todo open issue for this)pfe-jump-links-nav:offset: the manually set distance from the top of the viewport to the top of the navigation element; this is an override and does not account for pfe-navigation when used.mobile-breakpoint: max-width for when to switch to the pfe-accordion for mobile renderingaccordion-collapse-timing: how long to wait after clicking a child element before collapsing the open accordionstuck: represents the stickiness stateno-header: boolean attribute to allow you to opt-out of rendering the header section (header becomes screen-reader only)pfe-jump-links-panel:spacers: opt-in attribute for injecting the spacer elements; not recommended but allows backward compatibilityGoing forward, the only required component to add to the page is
pfe-jump-links-nav. Panel is an optional wrapper to make targeting more efficient. All functionality is being handled inside the nav element. Panel and sections can be manually defined via JavaScript API call to thepfe-jump-links-navcomponent.Test cases
Browser requirements
Your component should work in all of the following environments:
Ready-for-merge Checklist
[ ] Tests have been updated to cover these changes. TODO return to this after code freezeMerging
Please squash when merging and ensure your commit message uses conventional commit formatting.
Be sure to share your updates with the [email protected] mailing list!