-
Notifications
You must be signed in to change notification settings - Fork 106
fix: Update accordion to use PfeCollapse #1642
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
Conversation
|
✔️ Deploy Preview for patternfly-elements ready! 🔨 Explore the source changes: fb55dd4 🔍 Inspect the deploy log: https://app.netlify.com/sites/patternfly-elements/deploys/60fb23879fee120008a792eb 😎 Browse the preview: https://deploy-preview-1642--patternfly-elements.netlify.app |
| this.sectionMargin = newVal; | ||
| } | ||
|
|
||
| _isValidMarkup() { |
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.
I was seeing this error on the pfe-accordion demo page but really it was just missed in the previous PR for jump links. This rule is no longer in place (content can exist at any level inside the DOM).
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.
Can we move this into a separate issue?
…atternfly-elements into fix-accordion-alignment-kit
|
@castastrophe - This is a pretty big change and its a ton to take in at once. Can we make some smaller, more incremental changes? The design system changes would be the first priority. Then we can look at extending pfe-accordion with pfe-collapse. |
|
I hear you but at this point I'm focusing on getting code I have handed off or merged. I'm short on time and need this in order to move forward with nav 1.0 patches. |
|
Ok but we're going to need some work on the animations. The closing animation is no longer working and the opening animation has some jank. I tried to see why the opening animation is no longer smooth but nothing jumped out to me. |
This is a recording of Chrome, Firefox, and then Safari: Screen.Recording.2021-07-21.at.9.17.37.AM.movIt's not a perfect animation but it's on par with what we have now. |
|
@castastrophe @kylebuch8 A few comments. AccordionThemesTypography
ArrowKitDemo
Hover state
Mobile
Disclosure
|
|
@coreyvickery I've isolated the design updates into a separate PR per @kylebuch8's request and implemented your feedback here: #1726 |
…to fix-accordion-alignment-kit
| get templateUrl() { | ||
| return "pfe-accordion-header.html"; | ||
| get html() { | ||
| // return `<slot></slot>`; |
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.
| // return `<slot></slot>`; |











Testing instructions
Browser requirements
Your component should work in all of the following environments:
Ready-for-merge Checklist
Merging
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!