Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Date hover #31

Open
yerycs opened this issue Sep 8, 2020 · 4 comments
Open

Date hover #31

yerycs opened this issue Sep 8, 2020 · 4 comments

Comments

@yerycs
Copy link

yerycs commented Sep 8, 2020

Hi

Is there anyway to show tooltip when hover selected date or date range?

Thanks

@GiovanniFrigo
Copy link
Member

Hey,

Currently there is no way to show a tooltip, but the Day component already implements and triggers a "dayHovered" prop. Shouldn't be too hard to expose it from the Calendar component (the entry point of the component)!

I will gladly accept a PR if you want to contribute it!

@chavda-bhavik
Copy link

Hey @GiovanniFrigo, is it on the list to implement? I can work on this.

@GiovanniFrigo
Copy link
Member

@chavda-bhavik sorry this notification kinda got lost. I'd gladly accept a PR adding this!

@chavda-bhavik
Copy link

Ok, @GiovanniFrigo will start working on this. If I'm not wrong what is supposed to be done is we need to show a tooltip when users hover to the selected date or date range. Text for the tooltip will be prop passed to the calendar. And tooltip prop for selected date and date range texts will be different. Right?

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

No branches or pull requests

3 participants