blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

Warning triggered in ReactFieldDate

Open moniika opened this issue 4 years ago • 1 comments

Category

Examples

Component

blockly-react

Describe the bug Console warning triggered when using the custom field ReactFieldDate

index.js:1 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.

To Reproduce

Steps to reproduce the behavior:

  1. Run React demo
  2. Click on date field and select a different date in the picker
  3. See error

Expected behavior

No warning.

moniika avatar Mar 24 '21 23:03 moniika

Cannot seem to replicate this issue. Any inputs on how to?

debaraj-barua avatar Sep 22 '22 18:09 debaraj-barua