Open freder opened 6 years ago
Try onLayoutComplete={this.handleLayoutReady.bind(this)} .
Try
onLayoutComplete={this.handleLayoutReady.bind(this)} .
This should be done in the constructor otherwise this will create a new function every time render()
is called.
e.g.
constructor(props) {
super(props);
this.handleLayoutReady = this.handleLayoutReady.bind(this);
}
hi,
I want to make sure the layout is ready, before I display all items. I tried the following, but that does not seem to do the trick (I still see a mess of items, for a fraction of a second):
am I missing anything?