-
Notifications
You must be signed in to change notification settings - Fork 36
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
[Sidebar]: Implement component #85
Comments
Will be implemented soon, since i need it in project too |
Any progress? |
No promises but will try to look in next week. |
Hi, I started to work on the Sidebar implementation. I planned to fully develop the component then do a pull-request, but due to a lack of time (for now) and knowledge in react-motion, I'm currently not able to propose a full implementation. I based my implementation on the Accordion component, however the differences between this component and the sidebar are the causes of my unsuccess for now.The height of the accordion body depends of its content and so it's easy to do the animation using react-measure and react-motion. For the Sidebar, there is a fixed width (default : 260px), it's not depending of its contents. So, instead of an animation that widens the sidebar from 0px to 260px, I currently have an animation that widens the sidebar from 0px to n px (n = width of the content inside the sidebar) Is there a reason to not to use React CSS Transition ? Performance issues, maybe ? I guess it would be fairly simple to do this using it. Maybe I'll try to finish it later, if nobody does it before me. Here is my current (and unfinished and probably buggy) implementation : |
@mdarcemont |
@asvetliakov |
@mdarcemont |
Just wanted to know, is there a reason the sidebar component is not implemented nor planned? I would need it for a project so I could work on it
The text was updated successfully, but these errors were encountered: