Modal form actions no longer fixed positioned

Created on 19 January 2021, over 4 years ago
Updated 1 September 2025, about 1 month ago

Problem/Motivation

We have a website with some automated tests, we were using a very old set of modules (like from 2-3 years ago) and noticed while upgrading our tests for the file browser modal stopped working. Upon inspection it seems that the CSS classes to fix the modal actions to the screen is no longer applied, meaning you have to scroll to the bottom in order to find the submit button.

How it was before (old version):

How it is now:


Steps to reproduce

Entity Browser settings (general):

  • display: modal
    • width: 1100
    • height: 650
    • leave auto open checkbox unchecked
  • widget selector: tabs
  • selection display: no selection display

Entity Browser settings (Widget):

  • view
  • no auto submit
  • view: File Entity Browser: Entity Browser

Now when browsing through the files, given you have quite some media in the library, the button to submit will appear at the bottom of the modal.

Proposed resolution

Fix the logic that applies the class to the form actions.

Remaining tasks

Fix the logic that applies the class to the form actions.

User interface changes

The button is fixed again.

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

🇧🇪Belgium BramDriesen Belgium 🇧🇪

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024