Most of the time, you don't care about your taskbar's position in Windows 11. However, there are instances when you might prefer to have it in a different location on your screen. Perhaps you want ...
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 ...