Certain form validation errors make the sidebar move to the bottom of the page and the form operations disappear

Created on 2 July 2024, 5 months ago
Updated 3 July 2024, 5 months ago

Problem/Motivation

When submitting a node edit form with certain validation errors, the whole sidebar moves to the bottom of the page.

Before form submit

After form submit


Steps to reproduce

I noticed I can only reproduce this issue when submitting the node form while leaving a media entity reference field empty. The field is using the core media library widget. The issue doesn't happen when leaving the required node title field empty, or when entering an invalid URL in a link field. In those cases, the validation errors appear where they should and the sidebar stays in place.

I also noticed this issue was introduced in Gin 3.0-rc12. Reverting to Gin 3.0-rc11 fixes the issue for me.

πŸ› Bug report
Status

Closed: duplicate

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024