Hi all, I'd like to suggest an usability improvement.

When building large forms and adding new fields using duplicate option causes the page to scroll to top after saving new field options.
Then the user has to find the recently added field throught all page.
I think it would be much easier if the page scroll automatically to the position where the new field was added.

thanks for your hard work in this great module!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gusans created an issue. See original summary.

gusans’s picture

Title: page scroll position go after duplicate field » page scroll position goes to top after duplicate field
jrockowitz’s picture

Yes, the UI/UX for managing Webform elements needs to be improved.

This is possible but not a high priority. I just took care of #2853543: Scroll to top to the page when dialog has form validation errors. which fixed a major usability issue where you could not immediately see validation error message in dialogs with scrolling forms.

jrockowitz’s picture

I think we should scroll to the element's position for all new and updated elements. Ideally we should try to copy this behavior from the block layout page (/admin/structure/block/list/bartik).

gusans’s picture

yes, I agree that it will be the best also for new and updated elements, not just duplicated.

I really would like to contribute with a patch but my skills on php are very basics so far.

thanks again!

  • jrockowitz committed 1814780 on 2853569-page-scroll-elements
    Issue #2853569 by gusans, jrockowitz: page scroll position goes to top...
jrockowitz’s picture

Status: Active » Needs review
FileSize
13.73 KB

  • jrockowitz committed 48c12b1 on 8.x-5.x
    Issue #2853569 by jrockowitz: page scroll position goes to top after...
jrockowitz’s picture

Status: Needs review » Fixed

I committed the patch. Please download and review the latest dev release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.