Skip to content

Manually Set Column Width Stops Working When Column Gap is Changed #7718

@black-eye

Description

@black-eye

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

This is a long term bug, which happens to me from time to time and it was mentioned in several other column issues, but until now I wasn't able to track the trigger. Luckily, I discovered it just now.

The bug: when I type a number or use arrows in the column width input, the numbers are changing but column width stays visually the same. After (saved) page reload, the original number is back (along with the editing ability).

obrazek

Console throws this error:

TypeError: this._parent is undefined[Zjistit více] editor.js:12199:4
    onEditorInlineSizeInputChange https://beta5.stjames.cz/wp-content/plugins/elementor/assets/js/editor.js:12199
    onEditorInlineSizeInputChange self-hosted:976
    methodName https://beta5.stjames.cz/wp-content/plugins/elementor/assets/js/common-modules.js:602
    isValid https://beta5.stjames.cz/wp-content/plugins/elementor/assets/js/editor.js:1521
    methodName https://beta5.stjames.cz/wp-content/plugins/elementor/assets/js/common-modules.js:602
    isValidValue https://beta5.stjames.cz/wp-content/plugins/elementor/assets/js/editor.js:293
    every self-hosted:189
    onBaseInputChange https://beta5.stjames.cz/wp-content/plugins/elementor/assets/js/editor.js:292
    onBaseInputChange self-hosted:974
    jQuery 2

Steps to reproduce

  1. Open a page and create 2 column section
  2. Go to the first column settings and type the number (e.g. 40) into the column width input - works fine, column width is changed
  3. Go to the Section settings and change the Column Gap to e.g. Extended
  4. Go to the first column settings again and change the number - column width stays the same and Console throws the error mentioned above

Tested in Firefox.

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a default WordPress theme active.
  • I can reproduce this bug consistently using the steps above.

Environment

System Info ``` ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions