The Widgets feature can be annoying but it's also able to provide useful news and info. Here's how I tweak it to be less ...
In order to hide hover cards for inactive apps in taskbar of Windows 11, go to Settings > Personalization > Taskbar > Taskbar behaviors > Uncheck “Show hover cards for inactive and pinned taskbar apps ...