Issue #4965Opened March 8, 2023by RohitLad0 reactions

BUG: PropertyComposite with slider for four sides (L,R,T,B). Change in one slider causes other values to reset.

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Safari

Reproducible demo link

https://codesandbox.io/s/funny-williamson-thb52d?file=/index.js

Describe the bug

How to reproduce the bug?

  1. Go to https://codesandbox.io/s/funny-williamson-thb52d?file=/index.js

What is the expected behavior? select the default component and have a look at style manager. When one slider (for eg. Bottom padding) is moved, the other sliders should stay at the predefined or constant value. Funnily enough, it all works fine if the type is 'number' instead of a 'slider'

What is the current behavior? When one slider is moved (eg. Bottom padding), even the other sliders move and their values are reset.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (0)

No answers yet.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.