Open Closed

Scroll position remains between page visits #4855


User avatar
0
burkay created
  • ABP Framework version: v7.1.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:
    1. Go to Administration > Audit Logs page
    2. Scroll to the bottom of the page
    3. Go to Administration > Settings page
    4. Settings page shows up scrolled to the bottom. Expected behavior is it shows up from the top of the page.

Tried with a newly created project. Also tried hitting Ctrl - F5 between steps 1 and 2. Happens with some other pages as well, e.g. Language Management > Languages and Administration > Settings. Observed in Chrome and Firefox.


6 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    I have couldn't produce the issue with new app. My steps

    I have added lorem ipsum and spaces on home page. Go to bottom of page. change to page

    expected behavior: 'new page opened on the top' Actual behavior.: same as expected

    could you share your package.json (and package-lock.json or yarn.lock) ?

  • User Avatar
    0
    burkay created

    It does not happen with every page pairs. Please try the pages I listed in the original post. Scroll to the bottom on the "Audit Logs" page, then go to "Settings" page.

  • User Avatar
    0
    mahmut.gundogdu created

    It does not happen with every page pairs. Please try the pages I listed in the original post. Scroll to the bottom on the "Audit Logs" page, then go to "Settings" page. I think I tried but I couldn't produce ? Could you share your yarn.lock or package-lock.json ? maybe some package are old

  • User Avatar
    0
    burkay created

    Hello again. You cannot reproduce because the whole content of "Emailing" tab on "Settings" page fits in the height of the page in your screencasts. In our case, we disabled the "Emailing" settings for tenants. "Settings" page directly shows the "Identity Management" tab and we face the scroll problem. Alternatively, please try resizing the window so vertical scroll bar shows up on "Settings" page.

    I just updated abp cli to version 7.1.1, created a new project and saw the problem. You can find the yarn.lock file at https://pastebin.com/ag6A7sGN

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hi burkay,

    We fix this issue on (2.1.1) version can you update and try again

  • User Avatar
    0
    burkay created

    Thank you!

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38