melloware / react-logviewer

React Lazy LogViewer
https://melloware.github.io/react-logviewer/
Mozilla Public License 2.0
45 stars 10 forks source link

Can I make texts autoWrap? #35

Open XijueYZ opened 1 month ago

XijueYZ commented 1 month ago

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?

melloware commented 1 month ago

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.

deivid11 commented 1 month ago

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

melloware commented 1 month ago

@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)!

shalins commented 3 weeks ago

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