Swipe Card - Title Only

I am looking to use mushroom light cards with brightness slider in a swipe card. Is it possible to disable the swipe on these cards to prevent moving to next card when attempting to adjust brightness?