Skip to content

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

Closed
@tdecorte

Description

@tdecorte

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions