Skip to content

Instantly share code, notes, and snippets.

@fabOnReact
Created May 13, 2024 07:34
Show Gist options
  • Save fabOnReact/dfb141ef083f99acea4b7152294aaca9 to your computer and use it in GitHub Desktop.
Save fabOnReact/dfb141ef083f99acea4b7152294aaca9 to your computer and use it in GitHub Desktop.
Notes May 2024
@fabOnReact
Copy link
Author

fabOnReact commented May 19, 2024

Markdown - Arabic text getting cut

CLICK TO OPEN SOURCE CODE

import * as React from 'react';

import {StyleSheet, View} from 'react-native';
import {MarkdownTextInput} from '@expensify/react-native-live-markdown';

export default function App() {
  return (
    <View style={{marginTop: 200}}>
      <MarkdownTextInput style={styles.input} />
    </View>
  );
}

const styles = StyleSheet.create({
  input: {
    lineHeight: 25,
    height: 25,
    fontSize: 15,
    borderWidth: 1,
    overflow: 'hidden',
  },
});

Before After

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment