FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(wizard,aboutmodal): remove appendTo from props passed to div by boaz0 · Pull Request #3239 · patternfly/patternfly-react · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .snap  (1) .tsx  (2) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
      • AboutModal.tsx
      • Wizard.tsx
        • Wizard.test.tsx.snap
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
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class AboutModal extends React.Component<AboutModalProps, ModalState> {
}

render() {
const { ...props } = this.props;
const { appendTo, ...props } = this.props;
const { container } = this.state;

if (!canUseDOM || !container) {
Expand Down
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
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ export class Wizard extends React.Component<WizardProps, WizardState> {
hasBodyPadding,
footer,
isCompactNav,
appendTo,
...rest
} = this.props;
const { currentStep } = this.state;
Expand Down
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
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ exports[`Wizard should match snapshot 1`] = `
}
>
<div
appendTo={null}
aria-describedby="pf-wizard-description-0"
aria-labelledby="pf-wizard-title-0"
aria-modal="true"
Expand Down

Back | FazBrowse Home | New Git URL