Skip to content
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

User dashboard scrolls to bottom on refresh #1301

Closed
2 tasks done
pgaskin opened this issue Mar 17, 2017 · 10 comments
Closed
2 tasks done

User dashboard scrolls to bottom on refresh #1301

pgaskin opened this issue Mar 17, 2017 · 10 comments
Labels
topic/ui Change the appearance of the Gitea UI type/bug

Comments

@pgaskin
Copy link
Contributor

pgaskin commented Mar 17, 2017

  • Gitea version (or commit ref): 1.1.0
  • Database (use [x]):
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)

Description

User dashboard scrolls to bottom on refresh

https://transfer.sh/Pi18Y/scrollbug.mp4

@uncled1023
Copy link
Contributor

I am seeing the same thing. Any updates on this issue?

@lunny lunny added type/bug topic/ui Change the appearance of the Gitea UI labels Jun 13, 2017
@lunny lunny added this to the 1.x.x milestone Jun 13, 2017
@bkcsoft
Copy link
Member

bkcsoft commented Jun 15, 2017

Likewise, on Firefox 53.0.3 - Linux

@5im-0n
Copy link

5im-0n commented Oct 2, 2017

adding window.scrollTo(0, 0); to every page solves the issue

@katanacrimson
Copy link

However, that's probably not the best fix - determining why we're scrolling to the bottom would be far better.

@daviian
Copy link
Member

daviian commented Oct 2, 2017

It is default behaviour for autofocus in certain browsers. That's not a bug in gitea.

@pgaskin
Copy link
Contributor Author

pgaskin commented Oct 2, 2017

@daviian what would it be autofocusing to? There are no form elements at the bottom.

@daviian
Copy link
Member

daviian commented Oct 3, 2017

@geek1011 Is it possible for you to reup your scrollbug video?

I can only reproduce the bug if I make the window so small that it has to scroll to the "Find repositories" input field.

@5im-0n
Copy link

5im-0n commented Oct 3, 2017

here is the jumping after login, and when going to my profile page:
https://fcku.it/files/1/file-1507050345650.mp4

@daviian
Copy link
Member

daviian commented Oct 4, 2017

Seems to be fixed with #1652

@lunny
Copy link
Member

lunny commented Dec 12, 2017

Please feel free to reopen it.

@lunny lunny closed this as completed Dec 12, 2017
@lunny lunny removed this from the 1.x.x milestone Dec 12, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

No branches or pull requests

7 participants