Skip to content

New page doesn't scroll to top #104

Closed
@jmgirard

Description

@jmgirard

Bug description

I have spread my items across several pages, each of which is taller than screen height (so we must scroll down to navigate). When I scroll down the first page to get to the next page button and click it, it brings me to the next page, but does not scroll me to the top of the next page.

Steps to reproduce

https://github.com/jmgirard/pid5sd/tree/main/pid5bf
https://jmgirard.shinyapps.io/PID5bf/

Expected behavior

Upon move to new page, page autoscrolls to top

Actual behavior

Upon move to new page, page stays scrolls at bottom

Your environment

 version  R version 4.4.1 (2024-06-14 ucrt)
 os       Windows 11 x64 (build 22631)
 system   x86_64, mingw32
 ui       RStudio
 language (EN)
 collate  English_United States.utf8
 ctype    English_United States.utf8
 tz       America/Chicago
 date     2024-10-01
 rstudio  2024.09.0+375 Cranberry Hibiscus (desktop)
 pandoc   3.4 @ C:/PROGRA~1/Pandoc/ (via rmarkdown)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions