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

Calendar today button TypeError: Cannot read property 'currentTarget' of null #158

Closed
tdecorte opened this issue Jan 24, 2020 · 2 comments
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@tdecorte
Copy link

Function onTodayButtonClick(event) calls this.onDateSelect(null, dateMeta);
But first parameter of onDateSelect is event, and on event we have: event.currentTarget.focus();
As event is null, this throws an error.

@Nerderer
Copy link
Contributor

This is fixed in this PR:
#160

@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jan 28, 2020
@cagataycivici cagataycivici self-assigned this Jan 28, 2020
@cagataycivici cagataycivici added this to the 1.0.2 milestone Jan 28, 2020
@cagataycivici
Copy link
Member

Merged, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants