zobeirhamid / react-native-scrollable-navigation-bar

Respecting navigation bar for scrolling screens.
https://zobeirhamid.github.io/react-native-scrollable-navigation-bar/
MIT License
266 stars 29 forks source link

Error when making app #6

Closed asp3 closed 4 years ago

asp3 commented 4 years ago
<ScrollableNavigationBar
                transitionPoint={250}
                StatusBar={() => (
                    <StatusBarComponent
                        barStyle="dark-content"
                        backgroundColor="#f5f5f5"
                    />
                )}
                title="TitleNavigation"
                backgroundColor="#f5f5f5"
                borderColor="lightgrey"

                leftIcons={[<NavigationBarIcon name="ios-heart" />, <NavigationBarIcon name="ios-heart" />, <NavigationBarIcon name="ios-heart" />]}
                rightIcons={[<NavigationBarIcon name="ios-rocket" />]}
                ContainerComponent={SearchContainer}
                ref={component => {
                    this.searchContainer = component;
                }}
                snapHeight={50}
                SnapComponent={() => (
                    <SearchBar
                        platform="ios"
                        lightTheme
                        placeholder="Type Here..."
                        onFocus={() => {
                            if (this.searchContainer) this.searchContainer.onFocus();
                        }}
                        onBlur={() => {
                            if (this.searchContainer) this.searchContainer.onBlur();
                        }}
                        onChangeText={this.filterNotes}
                        onCancel={this.unfilterNotes}
                    />
                )}
            >
             <OtherComponents>
       </ScrollableNavigaionBar>

My code for scrollable nav bar is above. However, when I run the app, I get an error that says "undefied has no property animatedValue.interpolated Attached is a picture of the error (Had to take a picture of a phone, sorry about that)

IMG_3199