You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using version 0.10.3 with react navigation 5 with no problem for the past 2 years.
I've recently upgraded to react navigation 6 which force me to upgrade to "react-native-image-header-scroll-view": "^1.0.0" since any previous version has a conflict of dependencies.
With using 1.0 I have to change ImageHeaderScrollView instead of HeaderImageScrollView and import it like this otherwise it would give an error import { ImageHeaderScrollView, TriggeringView } from 'react-native-image-header-scroll-view';
Everything works as before except the content inside the renderFixedForeground() is no longer shown and no error is thrown.
Can you please if this library is still maintained?
Appreciate any help in advance!
The text was updated successfully, but these errors were encountered:
Solution:
We needed to replace the legacy context. I used React.createContext in the ImageHeaderScrollView.js file, exported it, and then imported it into the TrigerringView file, using it as static contentType as suggested by the RN logs. (fixed).
I've been using version 0.10.3 with react navigation 5 with no problem for the past 2 years.
I've recently upgraded to react navigation 6 which force me to upgrade to
"react-native-image-header-scroll-view": "^1.0.0"
since any previous version has a conflict of dependencies.With using 1.0 I have to change ImageHeaderScrollView instead of HeaderImageScrollView and import it like this otherwise it would give an error
import { ImageHeaderScrollView, TriggeringView } from 'react-native-image-header-scroll-view';
Everything works as before except the content inside the renderFixedForeground() is no longer shown and no error is thrown.
Can you please if this library is still maintained?
Appreciate any help in advance!
The text was updated successfully, but these errors were encountered: