Issue #2075💬 AnsweredOpened June 12, 2019by webdeveloper04291 reactions

Style manager slider min value bug

快速解答by arthuralmeidap1

@starcraft0429, could you provide us a code example? I have tried to simulate it but without success.

Read full answer below ↓

Question

when I set slider to 0 (min value) the slider return -1 value and this style property is ingored completely since it is not valid css. for example border-width: -1px !important

I found the code why this happens only min value. in the style manager slider view code

when slider value not min value, this works well. but if value is set to minimum(for example 0), second model.set didn't work and it break the real value.

Isn't possible set value standard without -1 and +1?

for short fix, how can I extend this function?

Answers (3)

arthuralmeidapJuly 25, 2019

@starcraft0429, could you provide us a code example? I have tried to simulate it but without success.

storyofyoursJune 12, 2019

@artf Be our hero ;)

artfJune 15, 2019

Guys, it's really important to follow the ISSUE template, I don't even know which version do you use! Can you create a reproducible demo because I don't understand how to reproduce it

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.