React-instantsearch: NumericMenu items ignore the value "0" in their bounds

Created on 17 Jan 2018  路  2Comments  路  Source: algolia/react-instantsearch

Do you want to request a feature or report a bug?

a bug

Bug: What is the current behavior?

MultiRange items ignore the value 0 in their bounds. In the following fiddle, we would expect the "Free" option to return nothing and not every item: https://jsfiddle.net/ar80rgpc/33/ This also impacts ranges with negative values as start:0 will return items with negative values.

Bug: What is the expected behavior?

To handle the 0 value differently than a missing value.

Bug: What browsers are impacted? Which versions?

all

What is the version you are using? Always use the latest one before opening a bug issue.

[email protected]

鉂勶笍鉂勶笍 medium 鉂わ笍 Bug

Most helpful comment

Ran into this bug recently, and would very much appreciate a fix!

(PS: Was encouraged to comment here overhere )

All 2 comments

This is still reproducible with NumericMenu; the replacement of MultiRanges: https://codesandbox.io/s/9oxqnnrkno

Ran into this bug recently, and would very much appreciate a fix!

(PS: Was encouraged to comment here overhere )

Was this page helpful?
0 / 5 - 0 ratings

Related issues

flouc001 picture flouc001  路  5Comments

vinhlh picture vinhlh  路  5Comments

danhodkinson picture danhodkinson  路  3Comments

markmiller21 picture markmiller21  路  3Comments

mxmzb picture mxmzb  路  4Comments