We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not import properly
import HeaderImageScrollView, { TriggeringView } from 'react-native-image-header-scroll-view'; return ( <HeaderImageScrollView maxHeight={200} minHeight={100} renderForeground={() => ( <View style={{ height: 150, justifyContent: "center", alignItems: "center" }} > <Text style={{ backgroundColor: "transparent" }}>Tap Me!</Text> </View> )} > <View style={{ height: 1000 }}> <TriggeringView onHide={() => console.log("text hidden")}> <Text>Scroll Me!</Text> </TriggeringView> </View> </HeaderImageScrollView> );
The text was updated successfully, but these errors were encountered:
Same Problem
Sorry, something went wrong.
This is a mistake in npm website documentation.
So see the GitHub page documentation. https://github.com/bamlab/react-native-image-header-scroll-view
It is ImageHeaderScrollView (as on GitHub page ) and not HeaderImageScrollView (as on npm page)
So this problem is solved , now another problem the latest version of library doesnot trigger scrolling events as in this issue bamlab/react-native-image-header-scroll-view#92
So use older version of library. see this two comment for solution. bamlab/react-native-image-header-scroll-view#92 (comment) bamlab/react-native-image-header-scroll-view#92 (comment)
Now it should work fine.
Closing issue as problem is solved by using older version.
Solution is the two links mentioned at bottom in previous comment.
No branches or pull requests
Could not import properly
The text was updated successfully, but these errors were encountered: