Issue #2748💬 AnsweredOpened April 30, 2020by jsychova1 reactions

Slider doesn't work with a non-integer step value

Quick answerby adamwpe1

Ah, you mean the arrows - sorry, thought you meant in general that the slider doesn't work. Never noticed that - always use the slider order the mouse dragging over the arrows. I'll have a look at the view - not too sure where to start haha.

Read full answer below ↓

Question

Default StyleManager property "slider" doesn't work with a non-integer step value. GrapesJS version: 0.16.1 In many cases, it’s convenient to use a slider with a non-integer step value: seems that Grapesjs supports only integer and rounds non-integer values. Steps to reproduce: Add a property with type 'slider'

Answers (3)

adamwpeApril 30, 2020

Ah, you mean the arrows - sorry, thought you meant in general that the slider doesn't work. Never noticed that - always use the slider order the mouse dragging over the arrows. I'll have a look at the view - not too sure where to start haha.

adamwpeApril 30, 2020

Oddly enough - this works for me (I know I'm creating the sector at the same time): Can you make a demo?

jsychovaApril 30, 2020

Yes of course. I've created a sample with your snippet, but seems that it doesn't want to work with me.

https://codepen.io/sjul66/pen/VwvMwNY

Thanks!

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.