Jump to content

Weird CKEditor bug when neighbouring field is taller


Robin S
 Share

Recommended Posts

I'm experiencing a weird bug with CKEditor that seems to occur when a neighbouring field in the same row is taller than the CKEditor field.

Firefox: when typing the cursor jumps to the start of the CKEditor text area with every keypress.

IE: when typing the text appears below the CKEditor window.

Chrome: the bug does not occur.

The screenshots below show the result of typing the second line "How now brown cow?"...

All browsers, neighbouring field shorter than CKEditor field (no bug)

wi8Fe0y.jpg

Firefox, neighbouring field taller than CKEditor field

02BO6v7.jpg

IE v11, neighbouring field taller than CKEditor field

ABSW6LZ.jpg

If someone can confirm they get the same bug I'll file an issue on Github. Thanks.

Link to comment
Share on other sites

I can confirm this since 2.6.13 up to 2.6.18

https://processwire.com/talk/topic/10713-field-dependency-switches-uninvolved-ckeditor-field-into-rtl-mode/

You've tracked down the real issue on this - in the other topic we don't get why this happens...

i'm working often with two column layout for the fields...and don't get the problem like you.

Can you check if inline mode works? This was the result as a workaround since nobody else answers and seems to have that problem.

regards mr-fan

Link to comment
Share on other sites

Can you check if inline mode works?

Setting the CKEditor field to inline mode does fix the bug.

I think I have traced the bug back to these lines of JS code, which attempts to match the height of adjacent columns with every change (e.g. keypress) to the CKEditor field. Will open a Github issue for this.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...