TriggeringView doesn't trigger callback function while scrolling
See original GitHub issueI tried to implement it on Android. But it doesn’t trigger the callback function. Here is the code:
<View>
<TriggeringView
onHide={() => alert("hide")}
onDisplay={() => alert("show")}>
<Text>Hello World</Text>
</TriggeringView>
</View>
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:17
Top Results From Across the Web
Trigger callback function when section comes into viewport ...
The problem I cant figure out is how to determine when the sections below and above the horizontal scrolling sections actually enter and...
Read more >callback function for `scroll` event doesn't get covered by ...
You bind the scroll event on the window object, NOT the component wrapper. You can mock the window.addEventListener() method and trigger it ...
Read more >Image Header Scroll View for React Native - Morioh
The component is render in front of the header and scroll with the ScrollView. ... It accept callback called when it disappear or...
Read more >Callbacks - ScrollTrigger
<li><code>onUpdate</code> - every time the scroll position changes while ... onEnterBack - backward past "end" (typically when trigger is scrolled back into ...
Read more >自己修改的两个js文件 - 贫民窟里的程序高手
If `callback` is undefined, remove all callbacks for the // event. ... and fire onload when all done Module.prototype.load = function() { var...
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 Free
Top 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

+1
back 0.10.3
By
0.10.3, imports will be changed as follows :import ImageHeaderScrollView, {TriggeringView } from 'react-native-image-header-scroll-view';