Project

General

Profile

Actions

Bug #28391

closed

Modal error after react-bootstrap upgrade

Added by Ron Lavi about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:
-
Fixed in Releases:
Found in Releases:

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

Actions

Also available in: Atom PDF