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
In certain layout setups, the THEOplayerView is not positioned correctly according to the flex-box styling rules.
THEOplayerView
example:
const App = () => { return ( <View style={styles.container}> <Text style={styles.text}> Press enter to show the on-screen keyboard </Text> <TextInput style={styles.textInput} placeholderTextColor="#888888" /> <THEOplayerView style={styles.video} config={CONFIG} source={SOURCE} /> </View> ); }; const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: '#333333', }, text: { fontSize: 40, color: 'white', marginBottom: 20, }, textInput: { width: 800, fontSize: 40, padding: 8, }, video: { marginTop: 50, width: 640, height: 400, }, });
which produces the following layout:
note that the height of the video-player also appears clipped here
where you would expect:
I only tested this on tvOS
Repository containing the example and workaround: https://github.com/IjzerenHein/ReactNativeTheoplayerKeyboardIssue
The text was updated successfully, but these errors were encountered:
@IjzerenHein Is this still an issue for you? Or can this ticket be closed?
Sorry, something went wrong.
wvanhaevre
No branches or pull requests
In certain layout setups, the
THEOplayerView
is not positioned correctly according to the flex-box styling rules.example:
which produces the following layout:
where you would expect:
I only tested this on tvOS
Repository containing the example and workaround:
https://github.com/IjzerenHein/ReactNativeTheoplayerKeyboardIssue
The text was updated successfully, but these errors were encountered: