mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 05:18:39 +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 {
|
private get _isOrderChangedFromLastMeasurement(): boolean {
|
||||||
let childCount = this.getChildrenCount();
|
let childCount = this.getChildrenCount();
|
||||||
if (this._orderCache === null) {
|
if (!this._orderCache) {
|
||||||
this._orderCache = [];
|
this._orderCache = [];
|
||||||
}
|
}
|
||||||
if (this._orderCache.length !== childCount) {
|
if (this._orderCache.length !== childCount) {
|
||||||
|
Reference in New Issue
Block a user