Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

ScrollToResource function not working as expected #7601

Closed

Description

@elizavetaRa

Steps to reproduce

1a. By selected resource scroll up outside of the view with this resource and press key "down"
1b. By selected resource scroll down outside of the view with this resource and press key "up"

Expected behaviour

The called scrollToResource function shows the resource in the middle of the view

Actual behaviour

By 1a the resource is shown in the last row of the visible list. By 1b nothing happens

Activity

  1. tbsbdr commented on Jun 29, 2023

    @tbsbdr

    @elizavetaRa I'd expect it work like this - are we on the same page?

    screenshot_001308-converted.mp4
  2. elizavetaRa commented on Jun 29, 2023

    @elizavetaRa
    ContributorAuthor

    So, you would change the selected resource on key up/down to previous/next, yes, that sounds logically to me.
    What would happen by multiple selection? Deselect all selected and jump to the next after last?

    If I scroll outside the view with the selection, I'd expect to scroll to the selection on key up/down still. Maybe not put the selection to the middle as I initially proposed.

    (example how it scrolles to the view with selection on key up)
    example

  3. tbsbdr commented on Jul 10, 2023

    @tbsbdr

    What would happen by multiple selection? Deselect all selected and jump to the next after last?

    👍 Yes

    If I scroll outside the view with the selection, I'd expect to scroll to the selection on key up/down still. Maybe not put the selection to the middle as I initially proposed.

    👍 Yes

  4. added this to the CERN Web Merge milestone on Jul 10, 2023
  5. tbsbdr commented on Jul 12, 2023

    @tbsbdr

    should be fixed via #9145

  6. added a commit that references this issue on Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions