DEV Community

hirenjariwalatreta
hirenjariwalatreta

Posted on

Issue related to flushSyncCallbackQueue

Hi

While development in React JS application, I have faced one issue. Can anybody help to resolve?

Issue:
I have applied accordion panel with number of accordion items. On first time few of them is expanded by default. There is option on page to expand all and collapse all. I can perform that operation successfully. But after that once click on accordion item to expand, it expand and immediately collapse again due to call of react function flushSyncCallbackQueue() automatically. This function is called from discreteUpdates$1() react function. I want to stop this automatic calling function.

Please let me know if someone have solution for that.

Thanks

Top comments (0)