Skip to content

Commit 34ed2d0

Browse files
committed
fix(ionicConfig): Chrome regression no longer allows integer transition duration times
1 parent 91de7ce commit 34ed2d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: js/angular/service/ionicConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ IonicModule
399399

400400
function setStyles(ctrl, opacity, titleX, backTextX) {
401401
var css = {};
402-
css[ionic.CSS.TRANSITION_DURATION] = d.shouldAnimate ? '' : 0;
402+
css[ionic.CSS.TRANSITION_DURATION] = d.shouldAnimate ? '' : '0ms';
403403
css.opacity = opacity === 1 ? '' : opacity;
404404

405405
ctrl.setCss('buttons-left', css);

0 commit comments

Comments
 (0)