React-table filter losing focus after each keystroke

Just move GlobalFilter declaration outside IngredientsTable as re-rendering of parent is creating new instance of it every time, which is causing to loose focus.

Fixed CSB –

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top