question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[ListView] In 0.7.0-rc.2, an empty header is rendered

See original GitHub issue

Hi,

with RN 0.7.0-rc.2, a header is rendered for each ListView taking approx. 40-50pixels, even when not specified. This has not been that way in 0.6.0:

screen shot 2015-06-29 at 08 47 04

The corresponding code is:

        <ListView
          dataSource={this.state.dataSourceImages}
          renderRow={this._renderRowImages}
          alwaysBounceVertical={false}
        />

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:21 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
idecommented, Jun 29, 2015

I noticed that something to do with the top content inset changed, possibly due to one of the Navigator diffs. Can you try adding these props to your ListView?

contentInset={{top: 44}}  // may need to play with this value
automaticallyAdjustContentInset={false}
0reactions
jaygarciacommented, Aug 5, 2015
Read more comments on GitHub >

github_iconTop Results From Across the Web

Android ListView with header Setting empty view will cause ...
Currently I have this listView with a header. View headerView = getLayoutInflater().inflate(R.layout.headerview, null); View emptyView ...
Read more >
ListView - React Native
ListView - A core component designed for efficient display of vertically scrolling ... Flag indicating whether empty section headers should be rendered.
Read more >
Blank header for a column in list view | Support Center
We are upgrading our application from 6.1 to 7.1.9. The requirement is to display a blank header for a column in the listview....
Read more >
Error 'Empty Column is found' in Data Loader - Salesforce Help
It only occurs when an entire column, including its header, is blank. It is still possible to upload blank values into records fields...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found