Skip to content
New issue

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

Difference between inside/outside a FlatList #633

Open
erickriva opened this issue Mar 6, 2025 · 5 comments
Open

Difference between inside/outside a FlatList #633

erickriva opened this issue Mar 6, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@erickriva
Copy link

I put the same code inside and outside FlatList renderItem, but it renders different.

<MarkdownTextInput
  multiline
  readOnly
  value="Hello, *world*!"
  parser={parseExpensiMark}
/>

First one is outside FlatList renderItem, second one is an item list.

Image

Tested only in Android.

newArchEnabled: true
react-native: 0.77.1
expo: 52.0.37
@expensify/react-native-live-markdown: 0.1.241
@tomekzaw
Copy link
Collaborator

tomekzaw commented Mar 6, 2025

@erickriva Have you tried wrapping MarkdownTextInput inside <View collapsable={false}> to see if it works?

@tomekzaw tomekzaw added the bug Something isn't working label Mar 6, 2025
@erickriva
Copy link
Author

@tomekzaw It works! Thank you.

@tomekzaw
Copy link
Collaborator

tomekzaw commented Mar 7, 2025

@erickriva Just wanted to ask, do you use react-native-live-markdown with the New Architecture enabled?

We're considering dropping support for the old architecture since Expensify uses this library only on the new architecture and we don't really maintain the old implementation for Paper.

@erickriva
Copy link
Author

@tomekzaw I'm using new architecture.

@tomekzaw
Copy link
Collaborator

tomekzaw commented Mar 7, 2025

@erickriva Thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants