ArcGISAccount component doesn't show menu on click in React 17 due to StrictMode warning.
Open
bug
- Dominant language
- JavaScript
- Stars
- 51
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
## Expected Behavior
ArcGIS Account menu shows up on click.
## Current Behavior
It doesn't due to console error saying:
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference.
Turning off React.StrictMode tag (App component wrapper) doesn't help at all.
## Possible Solution
## Steps to Reproduce (for bugs)
1. npx create-react-app
2. yarn add calcite-react
3. create Account component as in https://calcite-react.netlify.app/arcgis-account example.
4. check console.
## Your Environment
CRA with React 17.
Contributor guide
Assessment
This issue has not been assessed yet.