Bug: `onScroll` on `List` not get called
See original GitHub issuereact-native, react and native-base version: 0.48.3
native-base version: 2.3.6
Expected behaviour: onScroll
event should get fired
Actual behaviour: onScroll
event does not get fired
Steps to reproduce (the following is inside Container
and Content
):
<List
onScroll = { this._onScroll.bind(this) }
dataArray = { this.props.lastSheet.workDays }
renderHeader = { this._headerItem.bind(this) }
renderRow = {( item: TimeLogModel, _sectionId: number, rowId: string ) =>
{ return (<MetaTimeEntryCell
data = { item }
rowId = { rowId }
onItemPress = { this._onItemPress.bind(this) } />
)
} />
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Why Is This "OnScroll" JavaScript Function Not Being Called?
But, when the page is being scrolled up, the navigation bar should appear (or margin-top: 0 ). I don't understand why this function...
Read more >[BUG] content area scroll does not work correctly after data is ...
The content area can not scroll to the bottom of the list. ... This is due to setOverflowHeight() being called on the keyboard...
Read more >File List Doesn't Scroll Properly in Tree View | Sourcetree For ...
When in Tree View, the file list scroll position does not move in proportion to the number of files displayed. It is difficult...
Read more >Document: scroll event - Web APIs - MDN Web Docs - Mozilla
The scroll event fires when the document view has been scrolled. To detect when scrolling has completed, see the Document: scrollend event.
Read more >onscroll Event - W3Schools
The onscroll event occurs when an element's scrollbar is being scrolled. Tip: use the CSS overflow style property to create a scrollbar for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@oferRounds NativeBase
<Content>
itself is a ScrollView (you can read about<Content/>
here). So a Scrollview inside Content component behaves the same way as a ScrollView inside a ScrollView.@akhil-geekyants got you, thanks!