Skip to content
#

draggable

Here are 310 public repositories matching this topic...

forestlovewood
forestlovewood commented Nov 22, 2020

I just noticed that if you try and create a Range control which has the following props <Range step={0.1} min={0.1} max={50} ... /> it will emit a The difference of max and min must be divisible by step warning.

This appears to be because (50 - 0.1) / 0.1 equals 498.99999999999994 in JavaScript, but the expression parseInt(res.toString(), 10) actually just returns 498. Most calculat

Improve this page

Add a description, image, and links to the draggable topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the draggable topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.