Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hover effects for clickable Cards #71

Closed
aDogCalledSpot opened this issue Aug 23, 2023 · 1 comment · Fixed by #107
Closed

Hover effects for clickable Cards #71

aDogCalledSpot opened this issue Aug 23, 2023 · 1 comment · Fixed by #107

Comments

@aDogCalledSpot
Copy link
Contributor

You can currently create a click callback on cards with the onclick prop. However, it isn't communicated to the user. The Patternfly docs show that the cards are dimmed when hovering them and that the cursor becomes a pointer.

I tried adding pf-m-clickable to the classes but that doesn't seem to do anything by itself.

Am using pf-m-selectable-raised as a workaround for now.

@ctron
Copy link
Member

ctron commented Aug 23, 2023

IIRC there had been some recent changes around cards. Maybe that's the cause. But I didn't check into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants