Skip to content

Modals / Scroll position when modal is opened for the second time #866

@ainoc

Description

@ainoc

Describe the bug

Scroll position is "in memory" when modal is opened for the second time.

To Reproduce

Steps to reproduce the behaviour:

  1. Go to front page
  2. Click on Upload/Add folder
  3. Scroll down to bottom of modal
  4. Click Cancel
  5. Open modal again
  6. User sees bottom part of modal

Expected behavior

When user opens a modal, the top part of modal should be visible.

Screenshots

Screeshot of top of the modal when opened second time:
Screenshot 2022-11-24 at 9 11 12

Additional context

Metadata

Metadata

Assignees

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