Skip to content

fix: add check for click event handler to prevent popup closure - #855

Open
Incrediblenoble wants to merge 1 commit into
telerik:masterfrom
Incrediblenoble:fix-issue-100-1783044049104
Open

fix: add check for click event handler to prevent popup closure#855
Incrediblenoble wants to merge 1 commit into
telerik:masterfrom
Incrediblenoble:fix-issue-100-1783044049104

Conversation

@Incrediblenoble

Copy link
Copy Markdown

Fix for #100

The issue is about the DatePicker closing when clicking on the empty space below its cells.

Changes:

  • modify: src/index.js - The issue was caused by a missing check in the click event handler for the empty space below the cells. The function was only checking if the clicked element was an instance of Datepicker, but it did not account for the possibility that the clicked element could be another HTML element with the same class as Datepicker.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants