-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[issue][668] - Data browser automatically scrolls indefinitely #676
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
Conversation
Thanks for the PR, can you explain a bit more why the dashboard was autoscrolling and how this PR fixes the issue? |
Sure ... as @JacerOmri said the problem is that:
The problem appears only on chrome for mac os. I don't have time to go deep and check what cause this automatically scroll but anyway there is a performance issue with these "above" and "below" spacers. Another issue is that each row have "min-width" inline style which is not a good idea. What I did: I've also used a few lines of CSS to set different colors for the "DataBrowserHeaderBar" component because there is no need to calculate "odd" and "even" elements and set the inline style for each of them. These changes works better for us than the original approach so I hope you will enjoy them :) |
I did a quick review and looks OK with a couple of caveats (disclaimer: I'm not a web developer)
So I provisionally approve as I know this is a useful bug fix but would welcome more eyes on this and smaller reviews in future :) |
Hey @steven-supersolid Thanks for your feedback.
|
Hi @pivanov, we had a discussion among some of the maintainers and would like to get to the root cause of the issue before fixing it, as it is thought that it was introduced recently. Would you mind splitting the review so each part can be approved separately, and if you have time to identify when the bug was introduced and ensure your new PR for this addresses it specifically? If the bug was always there then that is fine but would be useful to know either way. We also have another PR open for the same bug so would be worth checking that out too: #671 Sorry that this is a lot for what seems a simple bug! |
@pivanov updated the pull request - view changes |
The bug was introduced on Chrome v56.0.2924 for Mac OS X and I think is related to some rendering changes (don't have time to goo deep to this). The PR #671 partially fix the issue. I had a chance to test it and it's not working well.
I will open another PR for the rest of my changes if we merge this one. |
@pivanov updated the pull request - view changes |
@pivanov updated the pull request - view changes |
Would it be helpful if we figured out which commit created the bug in the first place using git-bisect? |
not just an osx issue. this is a problem in chrome on windows too. |
This PR seems to do wacky things to the rhs scroll bar. chrome. edge. windows 10. also osx chrome, safari, probably everything else. |
Hi, any ETA on the merging of this PR? |
@ortimanu do you think it works well enough? does the scrollbar work properly for you? |
@jeacott1 nop. Same thing happens to me. |
Hey all,
I will update the PR these days if you still want to merge/get the changes. |
Ok, maybe I am doing something wrong. Will recheck when merged. |
What is the ETA for merging this to master? |
@pivanov I'm coming back to that PR, can you please split it up with the fix on one and the other additions on the other? You seem to have added a bunch of additional changes unrelated with the fix, and I'd like to review them separately, ideally with screenshots of before / after. Closing this one for now. |
#668
You can see a video demo of the patch here.