jquery-ui icon indicating copy to clipboard operation
jquery-ui copied to clipboard

#15262: Round calculated max before compare with max from options.

Open tkiseleva opened this issue 5 years ago • 2 comments

Fix for https://bugs.jqueryui.com/ticket/15262

tkiseleva avatar Dec 14 '20 09:12 tkiseleva

I'm not sure that the failed test is the correct one. The initial issue happens when in the setting I've set 8.003, but in js, it received as 8.0029999...

Or maybe provide some additional option if the max value should be covered or not.

tkiseleva avatar Dec 14 '20 10:12 tkiseleva

I've returned main part as it was before, but added new options includeMax, if it's true, it will increase the max if it's not covered by range. But tests are failed, I couldn't find how to fix, it something related to default options.

tkiseleva avatar Dec 18 '20 07:12 tkiseleva