Skip to content

The "New process" dropdown might not load more than one page if the browser zoom is not 100%. #4577

@AndreaBarbasso

Description

@AndreaBarbasso

Describe the bug

If the browser zoom is set to a value different than 100%, scrolling to the bottom of the processes dropdown does not trigger the call to the second page.

To Reproduce

Steps to reproduce the behavior:

  1. Lower the page size in scripts-select.component.ts (elementsPerPage) from 20 to 10 (since we only have 19 scripts on the sandbox environment);
  2. Increase your browser's zoom so that it's above or below 100% - this is not reproducible with all values and can change ever across browsers and OSes;
  3. Log in as an administrator, go to the processes page, proceed to create a new process;
  4. Try to scroll the selector below the first 10 scripts. Is will not load any more scripts.
dropdown.not.working.mp4

Expected behavior

The dropdown should load script when reaching the bottom, regardless of the browser zoom value.

Related work

Opening a PR in a bit!

Metadata

Metadata

Labels

bugtools:processesRelated to Scripts & Processes (new to DSpace 7)

Type

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions