kits-ab / LogLady

Log file viewer
https://loglady.dev/
MIT License
8 stars 0 forks source link

#536 Bugfix for empty lines appearing when switching tabs and some small UI changes #544

Closed MelindaSW closed 4 years ago

MelindaSW commented 4 years ago

This gif illustrates the behavior of the bug. Switching tabs and scrolling makes the page blank and the position of the scroller is not correct.
tab-switch-bug

And this is how it behaves after the fix. tab-switch-bug-solution

The issue seems to be caused by the scrolling taking place before the component is fully rendered. After searching for similar issues I came across the option of adding of a timeOut on the scroll command. I tried it out and the behavior improved significantly. There is still a little bit of flicker as you can see in the gif which I can not seem to figure out how to disappear. But what do you think? Is this fix good enough for a merge and does it work on your machine?

As a bonus, the settings icon is now moved to the upper right corner and the status bar color matches the rest of the app. image