mirror of
https://github.com/danog/react-datalist-input.git
synced 2024-12-03 09:57:50 +01:00
bug fixing wild ;
This commit is contained in:
parent
c7579022c2
commit
7d6686cbde
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-datalist-input",
|
||||
"version": "1.1.36",
|
||||
"version": "1.1.37",
|
||||
"description": "This package provides a react component as follows: an input field with a drop down menu to pick a possible option based on the current input.",
|
||||
"main": "./lib/DataListInput.js",
|
||||
"license": "MIT",
|
||||
|
@ -264,7 +264,7 @@ class DataListInput extends React.Component {
|
||||
{items.map( ( item, i ) => {
|
||||
const isActive = focusIndex === i;
|
||||
const itemActiveClasses = isActive ? `datalist-active-item ${ activeItemClassName }` : '';
|
||||
const itemClasses = `${ itemClassName } ${ itemActiveClasses };`;
|
||||
const itemClasses = `${ itemClassName } ${ itemActiveClasses }`;
|
||||
return (
|
||||
<div
|
||||
onClick={this.onClickItem}
|
||||
|
Loading…
Reference in New Issue
Block a user