react-diff-viewer
react-diff-viewer copied to clipboard
Text not visible for too long content
I am uploading a zip file and wants to show unzip file text content in the front end
the file unzipping api is working fine,And react diff viewer is working fine for normal files,but assoon as i upload large file which content big texts its only returning a title name on both side

I'm facing a similar issue.
The scroll cuts some information, which only happens with ReactDiffViewer.
@ruiaraujo012 did you end up fixing this issue? Would love to know how!
@DaanvanHulsen Unfortunately, I didn't
@ruiaraujo012 Got it! Add this code to your style:
line: { wordBreak: 'break-word', },
Thank you. I really appreciate it
guess this is worth integrating by default?
side note can be worth mentionning line: { wordBreak: 'break-word', height: 'auto' }, can be needed too (plus min-height in some cases) like in split view otherwise it stays unreadable.