From 182e9fccc90ae709322b7cc314c8775a9d8d46b8 Mon Sep 17 00:00:00 2001
From: afc163 <afc163@gmail.com>
Date: Sat, 12 Dec 2015 00:55:14 +0800
Subject: select input value range when enter different select panel

---
 src/module/Select.jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/module/Select.jsx')

diff --git a/src/module/Select.jsx b/src/module/Select.jsx
index b24f20c..3659692 100644
--- a/src/module/Select.jsx
+++ b/src/module/Select.jsx
@@ -30,6 +30,7 @@ const Select = React.createClass({
     selectedIndex: PropTypes.number,
     type: PropTypes.string,
     onSelect: PropTypes.func,
+    onMouseEnter: PropTypes.func,
   },
 
   componentDidMount() {
@@ -79,7 +80,8 @@ const Select = React.createClass({
     const { prefixCls } = this.props;
 
     return (
-      <div className={`${prefixCls}-select`}>
+      <div className={`${prefixCls}-select`}
+           onMouseEnter={this.props.onMouseEnter}>
         <ul ref="list">{this.getOptions()}</ul>
       </div>
     );
-- 
cgit v1.2.3

