On a module page, when adding referenced content such as a Tip, a multivalue field with tabledrag will scroll to the top of the dialog when used.
Looks like it's related to these issues:
Ajax replace inside a modal causes the current field to lose focus
Replace #ajax['wrapper'] with #ajax['wrapper_selector']
It might have something to do with dialog.ajax.js checking for document.activeElement: https://www.drupal.org/project/drupal/issues/2994909
Subtasks
Modules
