Studio "flushSync" error (possibly with Popover component) #3650
Unanswered
jayegyesie
asked this question in
Sanity Studio Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I get the following console error when interacting with elements that seem to call the
Popover2
component:Warning: flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.
Click here to see a video of this in action.
Has anyone else encountered this?
I came across this error whilst troubleshooting another issue whereby I was unable to select images using the
sanity-plugin-media@v3-studio
plugin. Naturally, I thought this was causal however disabling the plugin seems to have done the trick and I can now select/upload images (oddly I didn't have this particular issue in other docTypes).Removing this plugin has done nothing to solve the
flushSync
error.If it's helpful, here are the dependencies from my package.json
Beta Was this translation helpful? Give feedback.
All reactions