Page 1 of 1

Conflict with Chakra-ui library

Posted: 23 Nov 2022, 23:12
by matheusIforth
Hi,

Im trying to use the 'MultiSelect' component with the following import:

import { MultiSelect } from 'primereact/multiselect';

However, I call this component 'MultiSelect' inside another component called 'Drawer'. This component is from the 'Chakra-ui' library, and has the function of creating a sidebar.

When I import the 'MultiSelect' inside the 'Drawer', it doesnt open. I try to click on the 'MultiSelect' component but it never opens, can anyone help me?

Hoping to be understood, thanks!

Re: Conflict with Chakra-ui library

Posted: 25 Nov 2022, 16:28
by Melloware
I am not sure why you are using Chakra UI Drawer when PrimeReact has Sidebar that does the same thing? https://primefaces.org/primereact/sidebar/