Opening a Lookup Relation Modal always brings you to the top of the Submission Form #3303
Labels
affects: 7.x
Issue impacts 7.x releases
affects: 8.x
Issue impacts 8.x releases
bug
component: configurable entities
related to configurable entities
component: submission
help wanted
Needs a volunteer to claim to move forward
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:
Start a Submission with any user role at the DSpace Demo Site (https://demo.dspace.org/)
Scroll down to just above the author field like in this Screenshot and open the Lookup Modal with the magnifier icon:
See the result of the main submission form behind:
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
The text was updated successfully, but these errors were encountered: