Skosmos
Skosmos copied to clipboard
Replacing the malihu-custom-scrollbar plugin with some CSS
Doesn't look 100% the same but helps to get rid of one unmaintained plugin that's semi-useless.
-
The new tab callback seems to be working for me. What do I need to do to reproduce the issue?
-
I adjusted it to be a bit wider and added a box shadow to the thumb to emulate shorter height (the thumb height cannot be made shorter otherwise). How does it look now?
-
Seems like I had auto formatting on save on in my editor but I've turned it off for now.
No idea why the CSS was a static import. Probably some brain fart from way back. :)
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication
The new tab callback seems to be working for me. What do I need to do to reproduce the issue?
I tested this again using both Firefox 88 and Chromium on Ubuntu 20.04. I see two issues with the callback on the New tab on both browsers:
- If you open the A-Z tab, then click on the New tab, the UI performs a partial page load using AJAX. When you then scroll down the list of results, the callback isn't triggered at all. ISTR that the callback needs to be installed separately after the AJAX page update; probably this hasn't been done properly.
- If you go to the New tab directly via URL and scroll down, the callback is triggered not just once, but many times; and eventually you get a list of results which may be much older than expected. See the Network tab in this screenshot:
Also, after the requests have completed, there is a gap in the list of new concepts (here, "compression garment" should have been followed by other concepts from November 2020, e.g. "compression treatment", not concepts from April 2018):
I adjusted it to be a bit wider and added a box shadow to the thumb to emulate shorter height (the thumb height cannot be made shorter otherwise). How does it look now?
I didn't have time to look at this in very much detail but it seems to me that the height of the new scrollbar is still very different from the old one. It is also much higher on Firefox than Chromium. I'll look at this again once the callback issues have been resolved.