Skip to content

Commit ad7ef22

Browse files
committed
Merge pull request #25 from NathanaelA/master
Fix for iOS getting resized with NaN numbers
2 parents 194e890 + 6a11bb3 commit ad7ef22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fab.ios.js

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ var FloatingActionButtonStyler = (function () {
6868
// WIDTH\HEIGHT
6969
FloatingActionButtonStyler.setSizeProperty = function (view, newValue) {
7070
var fab = view.ios;
71+
if (isNaN(newValue)) return;
7172
fab.bounds.size.width = newValue;
7273
fab.bounds.size.height = newValue;
7374

0 commit comments

Comments
 (0)