Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • kresus kresus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 145
    • Issues 145
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • kresusapp
  • kresuskresus
  • Merge requests
  • !1420

[client] Scroll to the top of the infinite list only on mount, not on each rerender.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Antoine requested to merge ZeHiro/kresus:scrolltop-search into master May 08, 2021
  • Overview 3
  • Commits 1
  • Pipelines 1
  • Changes 1

This MR fixed the following problem:

  • In the report section, apply a filter over categories (let's say: all transaction without categories)
  • scroll down
  • change the category of a transaction so that the transaction is not expected to be displayed anymore (it does not match the search criteria)

Observed behavior before fix :

  • the transaction list is scrolled to the top.

Expected behavior :

  • the scroll is unchanged.

The fix allows to have the expected behavior.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: scrolltop-search