-
Notifications
You must be signed in to change notification settings - Fork 17
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
Contents disappearing after table is load #2
Comments
@donni106 I don't have much time available, so to help you I would need a minimal reproduction, in the form of a git repository. Please read this before sharing this reproduction: https://stackoverflow.com/help/minimal-reproducible-example |
No, I can't. I tried to reproduce it with your simple example changing the table html and rendering multiple I will make a more deep comparison now. |
Yes, you should import |
I do it like they mentioned and am using |
@donni106 OK, they might have changed instructions on their latest release, 33. If you cannot reproduce the issue with a small example, there is a good chance the bug comes from your code. You could try to disable automatic height behavior and see if the issue is persisting. If it isn't, I might have to check your layout code and see if that's not flex/yoga related. |
Oh yes! It is a flex issue! I removed a |
@donni106 I'm glad you found out :-) |
- struggled a long time with a strange behavior while rendering html table with the package - created issue native-html/plugins#2 - resolved with using no flex wrappers
I have a screen with different html sections.
With using the react-native-render-html-table-bridge
renderers
, every section without a table gets loss of its content in the moment the table is rendered.I see the other html sections for a second and than they are away.
Implementation:
On screens with html sections without a table everything still works.
But on screens where somewhere a table is included, this strange disappearing happens.
When I comment out
// renderers
in thehtmlConfig
every data is still visible, even from the table, but the table contents are of course not displayed as a table.How can we fix that?
The text was updated successfully, but these errors were encountered: