Skip to content

Commit

Permalink
Merge branch 'release/0.3.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
furqanZafar committed Oct 14, 2015
2 parents 82425ea + 8d500af commit 939524a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@

## v0.3.3 / 13th October 2015
* added missing dependency react-addons-css-transition-group to package.json

## v0.3.4 / 14th October 2015
* fixed a bug where the height of the ".dropdown-transition" element blocked the dom underneath (#6)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ LIVE DEMO: [furqanZafar.github.io/react-selectize](http://furqanZafar.github.io/

[![](http://i.imgsafe.co/rQmogzn.gif)](http://furqanZafar.github.io/react-selectize/)

- [Changelog](CHANGELOG.md) (last updated on 13th October 2015)
- [Changelog](CHANGELOG.md) (last updated on 14th October 2015)
- [API Reference](API.md)

# Motivation
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-selectize",
"version": "0.3.3",
"version": "0.3.4",
"description": "react implementation of selectize",
"main": "src/index.js",
"scripts": {
Expand Down
6 changes: 5 additions & 1 deletion src/ReactSelectize.ls
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,14 @@ module.exports = create-class do
..style.width = "0px"
..style.width = "#{@props.autosize $search}px"

$dropdown-transition = find-DOM-node @refs[\dropdown-transition]

if !!@refs.dropdown
(find-DOM-node @refs[\dropdown-transition]).style <<<
$dropdown-transition.style <<<
bottom: if @props.dropdown-direction == -1 then (find-DOM-node @refs.control).offset-height else ""
height: "#{@refs.dropdown.offset-height}px"
else
$dropdown-transition.style.height = \0px

# component-will-receive-props :: Props -> Void
component-will-receive-props: (props) !->
Expand Down

0 comments on commit 939524a

Please sign in to comment.