Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with Material-UI's autocomplete #396

Open
WilsonPhooYK opened this issue Jun 14, 2021 · 0 comments
Open

Integration with Material-UI's autocomplete #396

WilsonPhooYK opened this issue Jun 14, 2021 · 0 comments

Comments

@WilsonPhooYK
Copy link

WilsonPhooYK commented Jun 14, 2021

Does anyone have success integrating this with Material-UI's autocomplete?

This is my code currently and the arrow keys don't work.


const ListComponent = forwardRef((props, ref) => {
  const { children, ...comProps } = props;

  return (
    <Scrollbars
      {...comProps}
      ref={(node) => ref(node?.container)}
      autoHeight
      autoHeightMin={0}
      autoHeightMax={500}
    >
      {children}
    </Scrollbars>
  );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant