-
Notifications
You must be signed in to change notification settings - Fork 249
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
Auto-scrolling doesn't work #159
Comments
Facing the same issue. Autoscroll doesnt work and everytime I have to scroll down manually to see the latest logs |
@Bagunda @rakgenius which browser do you use? |
I am encountering the same issue with the latest chrome (76.0.3809.100). I might also add, that I am using frontail with openhabian |
@mthenw Im using chrome browser Version 76.0.3809.100 (Official Build) (64-bit) |
|
Can you paste me the exact command that you are running (or openhabian is running)? |
@Bagunda I cannot see that on your video but what happens when the window is scrolled to the bottom and you refresh the page? Does it go back to top? |
@Bagunda @andrelung @rakgenius can I ask you to validate the fix from #180? |
Openhabian is using the npm-based installation. I'll try uninstalling the npm version and installing your fix later today. |
|
Here is new video https://www.youtube.com/watch?v=2Y6H5Qb7IGs |
Today I try fix #180. At the end of the video https://www.youtube.com/watch?v=2Y6H5Qb7IGs |
I merged the PR and release new version (4.7.0) as it fixes @andrelung issue. @Bagunda could you scroll your window to the bottom and run the following command in the dev tools?
|
|
OK, looks like I know the culprit. Basically, your view is zoomed in. That's why the measurements are different than usual. Let me try to fix it. |
In the settings of windows 10, I zoomed thescale. |
@Bagunda yeah, that's probably it. |
Openhabian 2.4 (stable) no Auto-Scroll for me :( |
Same problem on a zoomed scale. On normal scale it works as it should... |
This is browser issue . works good in firefox or edge browser |
This is not a browser issue. If you check scrollY you get a float. This float is to small and you be stay all the time under body height value. from var wasScrolledBottom = window.innerHeight + window.scrollY >= document.body.offsetHeight; to this: var wasScrolledBottom = window.innerHeight + Math.round(window.scrollY) >= document.body.offsetHeight; Maybe a button for auto scroll is a bit better. I have this issue in all modern Browser like Edge, Chrom, Opera and Firefox. NPM is version 4.9.1 with this bug. |
No auto-scroll on Firefox (v94.0) on Linux... Only change in Firefox is making fonts bigger - would that affect auto-scroll? |
Auto-scrolling doesn't work
https://www.youtube.com/watch?v=iqamAAtSTu0
The text was updated successfully, but these errors were encountered: