Skip to content

Why no reliable callback of opening the date selector? #1122

Answered by helloanoop
peshoicov asked this question in Support
Discussion options

You must be logged in to vote

@peshoicov They are firing when the page loads since you are executing them.
It should be
onClick={() => console.log('CLICK')}
instead of
onClick={console.log('CLICK')}

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gpbl
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #825 on February 10, 2021 02:52.