reactjs / react-transition-group

An easy way to perform animations when a React component enters or leaves the DOM
https://reactcommunity.org/react-transition-group/
Other
10.1k stars 652 forks source link

Warning: Received `true` for a non-boolean attribute `in`. If you want to write it to the DOM, pass a string instead: in="true" or in={value.toString()}. #858

Open irehmanullah opened 1 year ago

irehmanullah commented 1 year ago

I have Updated to latest version(4.4.5) and i am getting this warning in the console. Here is the part of code where i am using TransitionGroup:

<TransitionGroup style={{ backgroundColor: sideBarBackgroundColor }} className={cx('app-sidebar h-100', { 'sidebar-shadow': enableSidebarShadow, })}

swiiny commented 1 year ago

Hey! I'm experiencing the same issue, @irehmanullah did you find something to fix it ?

irehmanullah commented 1 year ago

No, i didn't found any solution.