Skip to content

Commit fc32c05

Browse files
authored
Merge pull request #135 from va-andrew/master
Fix for #134 - WebviewScaffold crash on iOS
2 parents 7ac8585 + 5d70aa4 commit fc32c05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/webview_scaffold.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ class _WebviewScaffoldState extends State<WebviewScaffold> {
112112
}
113113
}
114114

115+
if (height < 0.0) height = 0.0;
116+
115117
return new Rect.fromLTWH(0.0, top, mediaQuery.size.width, height);
116118
}
117119
}

0 commit comments

Comments
 (0)