-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(edit): fix boolean edit issue on Firefox and Safari on macOS
Add mousedown listener to ui.grid.edit.directive:uiGridEditor to disable blur handler if the element is a checkbox, and then re-focus the checkbox and enable the blur handler after a $timeout. This change is to deal with Safari and Firefox behavior in macOS where clicking the checkbox causes a blur event, and the value is not updated. GitHub issues: #1785, #4778, #4782
- Loading branch information
Umer Farooq
committed
Oct 26, 2016
1 parent
6dfed10
commit 2059db9
Showing
1 changed file
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a bug where it should be
$elm[0].focus();
like on line 1146