1

I'm using <FixedSizeList> from react-window package inside TextField with the select property.

The issue is that the onChange event of the TextField doesn't work with <FixedSizeList>.

So I tried to invoke the TextField onChange event by passing a callback to the child row. The callback is working but it is not acting as the onChange event which suppose to close the menu after selection.

Codesandbox link: https://codesandbox.io/s/material-demo-forked-fv6wqu?file=/demo.tsx

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.