design-system icon indicating copy to clipboard operation
design-system copied to clipboard

DatePicker - Warning: findDOMNode is deprecated in StrictMode

Open thyhjwb6 opened this issue 2 years ago • 6 comments

Steps to reproduce

  1. Create a new application using the CRA template
  2. Add DatePicker inside React.StrictMode
  3. Start application
  4. Open DatePicker sheet and view the console

Screenshot

Screenshot 2022-11-25 at 16 05 05

thyhjwb6 avatar Nov 25 '22 16:11 thyhjwb6

Hi @thyhjwb6 :wave:

There was a fix for this in version 9.0.0 or newer of focus-trap-react: https://github.com/focus-trap/focus-trap-react/issues/77

However, we're unable to update at the moment as it would break support for older browsers (which would be a breaking change).

jpveooys avatar Nov 25 '22 16:11 jpveooys

This issue has been marked as stale because it has been open for 60 days with no activity

github-actions[bot] avatar Jan 30 '23 01:01 github-actions[bot]

+1 for this issue!

oliverrees avatar Nov 14 '23 12:11 oliverrees

This issue has been marked as stale because it has been open for 60 days with no activity

github-actions[bot] avatar Jan 22 '24 01:01 github-actions[bot]

Revisiting this as legacy browser support requirements have changed

markhigham avatar Apr 05 '24 13:04 markhigham

This issue has been marked as stale because it has been open for 60 days with no activity

github-actions[bot] avatar Jun 10 '24 01:06 github-actions[bot]