dialog.position.js error when adding media

Created on 30 December 2020, about 4 years ago
Updated 2 November 2023, about 1 year ago

Problem/Motivation

When adding new media in CKEditor, scrolling behind the modal generates the following error:

dialog.position.js?v=8.9.11:34 Uncaught TypeError: Cannot read property 'settings' of null
at resetSize (dialog.position.js?v=8.9.11:34)
at later (debounce.js?v=8.9.11:20)

I don't know if this is a problem with core or this module, but disabling this module fixes the error.

Steps to reproduce

  • Using simplytest.me, launch a sandbox with the latest Back to Top module.
  • Enable the Media and Media Library modules.
  • Configure the Basic HTML text format to use the media embed button instead of the image button. Enable the media embed filter.
  • Create a new node and use the "Insert from Media Library" button in the body field editor.
  • .Add a new media item
  • While on that dialogue, scroll the page behind the modal and see the console error in the inspector.
πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jonraedeke

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