Skip to content

Commit

Permalink
bump. Fixes #92
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed May 26, 2016
1 parent e3e981b commit e117897
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# History
----

## 6.4.0 / 2016-05-26

- auto expand input in ie10/11 https://github.com/react-component/select/pull/93
- realign when value change. https://github.com/react-component/select/pull/92

## 6.3.0 / 2016-04-28

- support onBlur
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rc-select",
"version": "6.3.3",
"version": "6.4.0",
"description": "React Select",
"keywords": [
"react",
Expand Down Expand Up @@ -58,7 +58,7 @@
"rc-menu": "4.x",
"rc-trigger": "1.x",
"rc-util": "3.x",
"warning": "^2.1.0"
"warning": "2.x"
},
"pre-commit": [
"lint"
Expand Down
5 changes: 5 additions & 0 deletions src/Select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,10 @@ const Select = React.createClass({
}
},

onChoiceAnimationLeave() {
this.refs.trigger.refs.trigger.forcePopupAlign();
},

This comment has been minimized.

Copy link
@ustccjw

ustccjw May 31, 2016

@yiminghe remove option will report: this.refs.trigger.refs.trigger.forcePopupAlign is not a function (antd1.0.1)

This comment has been minimized.

Copy link
@superRaytin

superRaytin May 31, 2016

Contributor

@ustccjw you need to upgrade antd version to 1.2.x.


getLabelBySingleValue(children, value) {
if (value === undefined) {
return null;
Expand Down Expand Up @@ -662,6 +666,7 @@ const Select = React.createClass({

if (isMultipleOrTags(props) && choiceTransitionName) {
innerNode = (<Animate
onLeave={this.onChoiceAnimationLeave}
component="ul"
transitionName={choiceTransitionName}
>
Expand Down

1 comment on commit e117897

@superRaytin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.