elife-xpub icon indicating copy to clipboard operation
elife-xpub copied to clipboard

Scroll to first validation error on 'Next'

Open hdrury1 opened this issue 5 years ago • 0 comments

Upon clicking 'Next' at the bottom of a wizard step and encountering validation error(s), the page should scroll up to the first error on the page.

The scroll should be smooth and animated (rather than 'jumping')

To avoid issues on mobile devices, we should not focus on the field in which the validation error has been logged, but rather scroll until this field is at the top of the viewport.

hdrury1 avatar Jun 04 '19 09:06 hdrury1