Issue #1346Opened August 6, 2018by FrciSmrci2 reactions

[FEATURE REQUEST] Property slider view default unit

Question

Hey @artf ,

I think that the slider component would come handy from the UX perspective for the user interaction of some of the integer properties as well, like font-size / line-height, etc.

I would like to propose that the slider component is extended with a default unit property which would take in an string, but without the selection array under units property.

What do you think?

Thank you in advance!

Answers (3)

artfAugust 24, 20182 reactions

Yeah, sorry, I was too much busy with other stuff this week, hope to release this weekend 😬

artfAugust 9, 20180 reactions

It could be already possible with this kind of configuration

{
        type: 'slider',
        property: 'font-size',
        units: [],
        unit: 'em',
        defaults: 14,
        max: 40,
        min: 1,
}

but unfortunately I notice that currently the slider itself does not update its pointer (due to a not numeric value). I'll fix that in the next release

FrciSmrciAugust 9, 20180 reactions

Thank you @artf :) When is the plan to do the next release?

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.