✨ Feature Request: Add click-to-flip functionality to 3D Hover Card #4277
Closed
PBnicad
started this conversation in
Ideas / feature requests
Replies: 1 comment
-
|
You can do it by combining |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Currently, the 3D Hover Card component only flips on hover. It would be great to enhance this component with an optional click-to-flip behavior, allowing users to toggle the card’s front/back view by clicking (or tapping on mobile). This would improve accessibility and user experience, especially on touch devices where hover is not available.
Proposed Behavior
The card remains hover-flip enabled by default (backward compatible).
When a new class (e.g., flip-on-click) or attribute (e.g., data-flip="click") is added, the card flips only on click/tap instead of hover.
Beta Was this translation helpful? Give feedback.
All reactions