"Show row weights" on paragraphs field doesn't work very well

Created on 14 March 2023, over 1 year ago

I've got a multi-value paragraphs field. Drag-and-drop reordering works just fine, but there's a visual issue when using "show row weights" -- the weight field is too small to be useful.

Here's what it looks like in Claro:

And here's what it looks like in Gin:

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States wrd-oaitsd

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

Comments & Activities

  • Issue created by @wrd-oaitsd
  • Hi,
    Tried to reproduced the issue on local with paragraph fields but not find any issue with that on any screen size.
    can you brief the steps to reproduced on local.

    attached screenshot.

  • πŸ‡ΊπŸ‡ΈUnited States wrd-oaitsd

    I'll see if I can narrow it down. It's happening on multiple sites, so I assumed Gin was the common denominator, but perhaps there's some other factor they share in common.

  • πŸ‡ΊπŸ‡ΈUnited States wrd-oaitsd

    Upon further investigation, it appears that something in our sites is altering the select elements in fields with more than one value into numeric input elements. This isn't happening on a site that is built with the standard profile; the weight field on my test site remains a select after adding additional values.

    This is also happening in Claro, but the input field is large enough to use in Claro, so it's not an obvious problem.

    So there's gotta be a form_alter or something like that happening somewhere that's causing the input element to change, and that's clearly not Gin's fault.

  • Status changed to Closed: cannot reproduce over 1 year ago
  • πŸ‡¨πŸ‡­Switzerland saschaeggi Zurich

    Closing as I also can't reproduce this.

  • πŸ‡ͺπŸ‡ΈSpain barnes_24

    Hi guys,

    It seems to happen to me something similar.
    I've got the original language as Spanish and the secondary as Catalan. In Spanish everything's fine, but in Catalan looks like in the image.
    I don't wanna show to the client the row weights

Production build 0.71.5 2024