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

On mouseover (hover) highlight corresponding card or timeline event #285

Closed
jnachtigall opened this issue Aug 22, 2022 · 2 comments · Fixed by #447
Closed

On mouseover (hover) highlight corresponding card or timeline event #285

jnachtigall opened this issue Aug 22, 2022 · 2 comments · Fixed by #447
Assignees
Labels
enhancement New feature or request

Comments

@jnachtigall
Copy link

When the user hovers (mouseover) with the mouse over a timeline event the corresponding card should be highlighted, for instance in the form of a slight colorish border. The same vice versa: When hovering over a card, highlight the related event.

Is there a prop for this or another way to implement this?

@prabhuignoto prabhuignoto self-assigned this Aug 22, 2022
@prabhuignoto prabhuignoto added the enhancement New feature or request label Aug 22, 2022
@jnachtigall
Copy link
Author

@prabhuignoto As long as there's no prop for this do you think it is feasible to achieve the same effect via onMouseEnter and onMouseLeave in some way at the app level? That is, attaching some kind of event handler to the custom card renderer and then setting some CSS class. But I am not sure how this would work for the timeline dot item? Any thoughts for a workaround?

@prabhuignoto
Copy link
Owner

@jnachtigall Unfortunately, there isn't a fix available right now. In order to enable this behavior, I'm adding a new prop. A minor release will shortly be available.

@prabhuignoto prabhuignoto linked a pull request Jan 6, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants