Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArcGISAccount component doesn't show menu on click in React 17 due to StrictMode warning. #436

Open
piwnk opened this issue Nov 25, 2020 · 0 comments
Labels

Comments

@piwnk
Copy link

piwnk commented Nov 25, 2020

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.

@codylawson codylawson added the bug label Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants