dspace-angular icon indicating copy to clipboard operation
dspace-angular copied to clipboard

Opening a Lookup Relation Modal always brings you to the top of the Submission Form

Open manuele-lorusso opened this issue 1 year ago • 3 comments

Describe the bug

Opening a lookup relation modal like of the configured author field (person entity) let jump the submission form at the top of the page.

In most cases, especially at the DSpace Demo Site, only the author relation field is configured at the top and therefore does not interfere. But if relation fields to other entities are configured further down, then it is very annoying for the user to scroll back to the last edited submission field.

Affects all versions of DSpace 7 and 8. At least the browsers Firefox and Chrome.

To Reproduce

Steps to reproduce the behavior:

  1. Start a Submission with any user role at the DSpace Demo Site (https://demo.dspace.org/)

  2. Scroll down to just above the author field like in this Screenshot and open the Lookup Modal with the magnifier icon: image

  3. See the result of the main submission form behind: image

  4. Close the Modal...same result.

Expected behavior

The position of the modal should be at the height of the field and not at the top edge of the submission.

Related work

Could not find any DSpace issues dealing with this or similar topics

manuele-lorusso avatar Sep 05 '24 08:09 manuele-lorusso