inputRange error on web
Closed this issue ยท 1 comments
RWOverdijk commented
Information
-
react-native version: .. https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz ๐
-
react-navigation version: see below
-
react-navigation-collapsible version: Master
-
Platform (iOS/Android): Web
-
react-native init or Expo: Expo
"@react-navigation/bottom-tabs": "^5.0.0",
"@react-navigation/native": "^5.0.0",
"@react-navigation/stack": "^5.0.0",
"@react-navigation/web": "~1.0.0-alpha.9",
Detail
All I did was change my navigation file to this:
import * as React from 'react'
import { createCollapsibleStack } from 'react-navigation-collapsible'
import { createStackNavigator } from '@react-navigation/stack'
import { VenuesScreen, VenueDetailsScreen } from '../screens'
const MainNavigationStack = createStackNavigator();
export const AppNavigation = () => {
return (
<MainNavigationStack.Navigator>
<MainNavigationStack.Screen name="Venues" component={VenuesScreen} />
{createCollapsibleStack(
<MainNavigationStack.Screen name="VenueDetails" component={VenueDetailsScreen} options={{ title: '' }} />
)}
</MainNavigationStack.Navigator>
)
}
And then running it in web. I didn't test it on a physical device.
marioaks commented
Getting the same error. Would be really great if someone could look into this!