mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Fix flexbox crash for iOS
This commit is contained in:
@ -220,7 +220,7 @@ export class FlexboxLayout extends FlexboxLayoutBase {
|
||||
|
||||
private get _isOrderChangedFromLastMeasurement(): boolean {
|
||||
let childCount = this.getChildrenCount();
|
||||
if (this._orderCache === null) {
|
||||
if (!this._orderCache) {
|
||||
this._orderCache = [];
|
||||
}
|
||||
if (this._orderCache.length !== childCount) {
|
||||
|
Reference in New Issue
Block a user