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

Warning: A string ref, "toolbarWrapper", has been found within a strict mode tree. #373

Open
charescape opened this issue Feb 20, 2022 · 1 comment

Comments

@charescape
Copy link

charescape commented Feb 20, 2022

-- Bug Report --

Expected Behavior

No warnings.

Current Behavior

Warning: A string ref, "toolbarWrapper", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref

Steps to Reproduce

  1. Following https://megadraft.io/#/docs/overview to setup page.
  2. Input some text and press Enter.
  3. Select some text.

Browser, device, and OS

Chrome 98 on Windows 10

Screenshots

image

image

@aazam-gh
Copy link

aazam-gh commented Oct 9, 2022

hi, can i work on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants