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

Expensify Composer

Before After

@fabOnReact
Copy link
Author

fabOnReact commented May 19, 2024

Markdown

Before After
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-05-19.at.11.03.28.mp4
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-05-19.at.11.01.20.mp4

@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