@jpal91
Posted
Your menu transitioning so smoothly made me realize how choppy mine is so I'm going to have to go back and fix that...
Also, great idea on creating your own hook for useLocalStorage(), that was really cool and I've never though about doing something like that before. Great job!
One recommendation I'd add in, mostly because I took a while trying to do the same thing, is adding in some CSS to remove the scrollbars. This is what I used as overrides in Material UI but you should be able to get the gist for Vanilla CSS -
html: {
scrollBehavior: "smooth"
},
"::-webkit-scrollbar": {
width: "5px"
},
"::-webkit-scrollbar-track": {
visibility: "hidden"
},
"::-webkit-scrollbar-thumb": {
visibility: "hidden"
},
":hover": {
"::-webkit-scrollbar-thumb": {
border: "5px solid gray",
borderRadius: "10px",
visibility: "visible"
}
},
This way the scroll bars are only visible on hover and they look a little nicer too. Great job overall!