CKEditor5 sticky Panel

Created on 22 December 2022, almost 2 years ago
Updated 27 January 2023, almost 2 years ago

Problem/Motivation

Steps to reproduce

When the CKEditor5 toolbar becomes sticky, it disappears under the region-sticky. The offset of the region-sticky is not considered.

Proposed resolution

Toggle In the sticky.js also the attribute data-offset-top and call Drupal.displace(true); after that.

context.querySelector('.region-sticky').toggleAttribute('data-offset-top', e.intersectionRatio < 1)
Drupal.displace(true);

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Component

Code

Created by

🇩🇪Germany refsz

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.

Production build 0.71.5 2024