Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

responsiveHeight MultiSelect in Firefox does not work correctly with % #166

Open
konstantinEnable opened this issue Nov 11, 2019 · 0 comments

Comments

@konstantinEnable
Copy link

konstantinEnable commented Nov 11, 2019

Expected Behavior

Should not overwrite itemHeight, height and does not as expected, in Chrome, however it does not function as expected in Firefox.

Actual Behavior

For example responsiveHeight 16% and itemHeight 42, results in a 7px item height in Firefox.

Steps to Reproduce the Problem

<CheckMulti
items={items}
selectedItems={selectedItems}
showSelectedItems={showSelected}
showSelectAll={multi} // multi is a boolean
maxSelectedItems={(!isEmpty(max) && parseInt(max) > 0) ? max : (multi ? 12 : 1)}
height={multi ? 400 : 250}
// responsiveHeight={multi ? '28%' : '16%'} // not rendered correctly in Firefox
withGrouping={groups ? groups : multi}
onChange={update}
filterFunction={value => item =>
String(item.name).toLowerCase().includes(value.toLowerCase())}
wrapperClassName="multi-select-wrapper"
itemHeight={42}
/>

Specifications

  • Version: 1.1.5, Firefox 70.0
  • Platform: ,
  • Subsystem:
@konstantinEnable konstantinEnable changed the title responsiveHeight in Firefox does not work correctly with % responsiveHeight MultiSelect in Firefox does not work correctly with % Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant