Modal dialog errors in stark theme

Created on 14 January 2018, almost 7 years ago
Updated 30 January 2023, almost 2 years ago

Problem/Motivation

Some elements of modal dialogs are not available to clicking under the Stark theme.

How to reproduce:

  • Install Drupal site with Minimal profile
  • Enable the Stark theme and set to default.
  • Enable the form_api_example module from Examples for Developers. (There might be a better modal in core to demo with, but it's tricky with the next step.)
  • Log out.
  • Visit the modal form example in Examples: examples/form-api-example/modal-form/nojs
  • Click on 'See this form as a modal.'
  • You'll see that the modal is greyed-out, as if it's behind the grey-out div. See image.
  • Try to click on the close box or the submit button. Focus will shift to the text input box, but the clicks won't make it to the close or submit buttons.
  • Hit escape. This will close the modal.
  • Click on 'See this form as a modal' again.
  • Now the modal is not behind the grey div and behaves normally.

Looks like this:

Proposed resolution

Determine the cause.

Fix it.

Patch it.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs work

Version

9.5

Component
JavascriptΒ  β†’

Last updated 4 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States mile23 Seattle, WA

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

Comments & Activities

Not all content is available!

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

  • The Needs Review Queue Bot β†’ tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide β†’ to find step-by-step guides for working with issues.

Production build 0.71.5 2024