elementor / elementor/elementor

Section and Column re-renders child widgets on changing the margin/padding value link

Open
#9,943 0 comments 0 reactions 0 assignees View on GitHub
mod/b*
Dominant language
PHP
Stars
7.1k
Forks
1.6k
Avg merge
1d 5h
Merged PRs (30d)
193

Description

## Prerequisites

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

## Description

On changing the margin/padding values link (the button that groups/ungroups the values together), the section/column flickers meaning it re-renders all the child elements in the view.

The issue doesn't happen on clicking the linker the first time, but starts happening from the 2nd time onwards.

## Steps to reproduce

1. Import any Elementor template onto a new page or edit an existing Elementor page.
2. Select any section/column.
3. Go to Advanced tab.
4. Click on the link button (besides the 4 value input fields) multiple times and the child widgets (widgets inside the section/column) will start flickering meaning they're being re-rendered on triggering the value link (i.e. setting change).

## Isolating the problem

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.