Posts

Showing posts from June, 2021

Textarea scrollbar hover change cursor in CSS

Image
This post describes how to change the cursor on hover over a custom scrollbar in a textarea in CSS. Cause If you add a custom scrollbar to a textarea using -webkit-scrollbar e.g. /*   Set the style for a textarea scrollbar.   */ textarea::-webkit-scrollbar  {      background-color :  #f0f0f0 ;      width :  8px ; } /*   Set the style for a textarea scrollbar thumb.   */ textarea::-webkit-scrollbar-thumb  {      border-radius :  3px ;      background-color :  #c2c2c2 ; }      /*   Set the style for a textarea scrollbar thumb hover.   */      textarea::-webkit-scrollbar-thumb:hover  {          background-color :  #696969 ;     } You may notice that the cursor remains a text cursor when it's hovered over the scrollbar, even if you set cursor: default in the -webkit-scrollbar-thumb:hover CSS: Resolution To resolve this issue, set the cursor style to auto on the textarea itself (not textarea::-webkit-scrollbar-thumb:hover): textarea  {         cursor :  auto ; } The scrollbar will now h

Windows can't drag and drop - dragging files or emails not working

In this post I describe how to fix an issue in Windows where you can't drag and drop, and dragging files, folders or emails is not working.  When you drag a file and hover it over a folder, you are unable to drop it into the folder. Issue I'm not entirely sure what causes this issue.  I think Windows thinks it's still dragging something. Resolution Left click a file, keep the left click pressed, then hit the Escape key on the keyboard.

Steelseries Sensei Ten squeaky scroll wheel

Image
In this post I describe how I fixed my Steelseries Sensei Ten squeaking scroll wheel. Cause This issue occurred whenever I scrolled down (towards me) with slight pressure to the left on the mouse scroll wheel. Resolution I resolved this issue by removing the pads from the bottom of the mouse to access the screws.  I then used a small Phillips head screwdriver to remove the screws.  I noticed that the bar going through the mouse wheel was just catching the bottom edge of a circuit board if I put pressure to the left on the mouse scroll wheel.  I very carefully applied a small amount of WD-40 onto the bar and the bottom of the circuit board where it was touching.  The squeaking sound on my Steelseries Sensei Ten mouse has now stopped when I scroll. Related Posts -  Light marked "W" Steelseries keyboard - what does it do