Bug #28391
closedModal error after react-bootstrap upgrade
Description
After one of the latest patternfy-react version update, with `react-bootstrap` update, maybe https://github.com/patternfly/patternfly-react/pull/3249,
tests started to fail with the following error:
```
console.error node_modules/jest-prop-type-error/index.js:8
onMouseDownDialog
in div (created by CustomModalDialog)
in CustomModalDialog (created by Modal)
in Transition (created by Fade)
in Fade (created by DialogTransition)
in DialogTransition (created by Modal)
in RefHolder (created by Modal)
in div (created by Modal)
in Portal (created by Modal)
in Modal (created by Modal)
in Modal (created by DiffModal)
```
and the warning:
`Warning: Unknown event handler property `%s`. It will be ignored.%s`
maybe it is something about a naming convention, see: https://github.com/styled-components/styled-components/issues/2218#issuecomment-489661463
opened an issue to `react-bootstrap` - https://github.com/react-bootstrap/react-bootstrap/issues/4872
and an issue to patternfly: https://github.com/patternfly/patternfly-react/issues/3364
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ron Lavi
- Pull request https://github.com/theforeman/foreman/pull/7231 added
Updated by The Foreman Bot about 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/7193 added
Updated by Ron Lavi about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset ae55b7eff2f2e653981781d3b73fc7d1361f1952.
Updated by The Foreman Bot about 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/7266 added