react-logviewer icon indicating copy to clipboard operation
react-logviewer copied to clipboard

Can I make texts autoWrap?

Open XijueYZ opened this issue 1 year ago • 4 comments

I hope that when a log entry is very long, there won't be a horizontal scrollbar and it can automatically wrap to the next line. How should I do it?

XijueYZ avatar Jun 19 '24 09:06 XijueYZ

I have not studied it thoroughly but i believe the answer is NO. the way the log viewer is designed with formatting etc that each log line must be an entire line and not wrapped.

melloware avatar Jun 19 '24 11:06 melloware

This is a good alternative ;) https://www.patternfly.org/extensions/log-viewer/

deivid11 avatar Jun 26 '24 17:06 deivid11

@deivid11 i actually looked at that component before I found React Lazy Log and did not like that component as much as this one or nearly as feature full. (Minus this feature of course)!

melloware avatar Jun 26 '24 17:06 melloware

This would be great if it could be added, I feel line wrapping is quite fundamental for a tool like this.

shalins avatar Jul 22 '24 01:07 shalins

Would love to help with this: https://github.com/melloware/react-logviewer/issues/54

HunterCFigueroa avatar Nov 06 '24 03:11 HunterCFigueroa

There will be a wrapLines property in the 6.0.0 release

melloware avatar Nov 08 '24 21:11 melloware