Closed Gronis closed 3 years ago
Fixes #308
I noticed another bug related to scrolling after pushing my first commit.
After opening and closing "cabal settings" panel, the scroll listener is not working, because it was mounted to an old html element not in the DOM anymore. I tried to make mainPanel a pure component and using some hooks, but I didn't get the correct behavior, so I decided to scrap that and just made a smaller change which make sure that the scroll listeners are correct.
cc @khubo @nikolaiwarner wdyt?
Looks good! Fantastic work @Gronis !! 🔥🔥🔥🔥