You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checkbox does not register a click on mobile Safari or Chrome. Any suggestions for a workaround for this?
Update:
Just did some more digging. It looks like the click event that is bound in the directive is not properly binding on mobile. Note that my app does have ngTouch included.
elem.bind("click", function() {
console.log('This was clicked') // This never gets logged on mobile
scope.$apply(function() {
if(modelCtrl.$modelValue === falseValue) {
modelCtrl.$setViewValue(trueValue);
} else {
modelCtrl.$setViewValue(falseValue);
}
});
});
The text was updated successfully, but these errors were encountered:
Checkbox does not register a click on mobile Safari or Chrome. Any suggestions for a workaround for this?
Update:
Just did some more digging. It looks like the click event that is bound in the directive is not properly binding on mobile. Note that my app does have ngTouch included.
The text was updated successfully, but these errors were encountered: