Problem/Motivation

I'm using nested paragraph with inline entity form complex widget.
When have multiple paragraphs, the table does not goes as far as it should and then my actions buttons are bellow the paragraph title instead of being at the right under the correct column.

Screenshot of error

Steps to reproduce

Use nested paragraph with inline entity form complex widget.
Add multiple paragraphs and see the issue.

Proposed resolution

It seem to be linked to the class "ief-tabledrag-handle tabledrag-cell"

In the paragraph.scss file, if we replace the

.draggable { 
   > td {
        position: relative;
        display: block;
        flex: 0 0 auto;
  }
}

with display: table-cell
It seem to fix the issue for me

Issue fork gin-3515484

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

arwillame created an issue. See original summary.

mudasirweb’s picture

Assigned: Unassigned » mudasirweb
Status: Active » Needs work
mudasirweb’s picture

Assigned: mudasirweb » Unassigned
kvib’s picture

StatusFileSize
new821 bytes

Just a patch with the fix mentioned in this ticket for Gin 3.0.
(Patch need to be tested for Gin 4)

According to my tests, this doesn't seem to cause any regressions.

tim-diels’s picture

Issue summary: View changes

Added screenshot of error for direct idea of issue

tim-diels’s picture

Version: 4.0.2 » 4.0.x-dev
Status: Needs work » Needs review

I added the patch as MR and manual testing seems to solve the issue and does not break on other parts. But maybe I'm not testing all cases.
Putting this to needs review for others to review aswel.

andysipple’s picture

Version: 4.0.x-dev » 5.0.3
Status: Needs review » Reviewed & tested by the community

I was having the same issue on Gin verison 5.0.3
The MR https://git.drupalcode.org/project/gin/-/merge_requests/620 fixed the issue.
Moving to reviewed and tested by the community.
Thank you

fchometon’s picture

Same issue on Gin version 5.0.9

The MR fixed the issue.

Thanks.

jaydarnell’s picture

Same issue on Gin version 5.0.10

The MR above fixes the issue: https://git.drupalcode.org/project/gin/-/merge_requests/620.patch

Thanks.

jurgenhaas’s picture

Status: Reviewed & tested by the community » Fixed

Merged this into 4.1.x and cherry-picked into 5.0.x. This will not go into the core version of this theme since this needs to be covered by the paragraphs module in the future.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • jurgenhaas committed 83bc0b69 on 5.0.x
    #3515484 Nested paragraph with inline form widget and draggable breaks...

  • jurgenhaas committed bebdb74f on 4.0.x authored by tim-diels
    #3515484 Nested paragraph with inline form widget and draggable breaks...

  • jurgenhaas committed 1b15441d on 4.1.x
    #3515484 Nested paragraph with inline form widget and draggable breaks...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.