You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the custom button in expandableToggle with a <Button variant="link">
Move all of the logic that was on the custom button to the new <Button>
Wrap the expandableToggle in <div className={css(styles.expandableSectionToggle)}>
Some more details:
We want to pass the span.expandableSectionToggleIcon (the span with the toggle icon class and icon inside, as it is currently) in as the <Button>'s icon. This whole thing:
Follow up to core PR - patternfly/patternfly#7000
TL;DR of the updates:
expandableToggle
with a<Button variant="link">
<Button>
expandableToggle
in<div className={css(styles.expandableSectionToggle)}>
Some more details:
span.expandableSectionToggleIcon
(the span with the toggle icon class and icon inside, as it is currently) in as the<Button>
's icon. This whole thing:patternfly-react/packages/react-core/src/components/ExpandableSection/ExpandableSection.tsx
Lines 240 to 242 in 2e6837e
<Button>
should haveisInline
if the "truncate" variant is used on<ExpandableSection>
(expandableSectionVariant.truncate
)The text was updated successfully, but these errors were encountered: