react-custom-scrollbars icon indicating copy to clipboard operation
react-custom-scrollbars copied to clipboard

Integration with Material-UI's autocomplete

Open WilsonPhooYK opened this issue 3 years ago • 0 comments

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>
  );
});

WilsonPhooYK avatar Jun 14 '21 17:06 WilsonPhooYK