Skip to content

Commit

Permalink
Merge pull request #219 from Kjaer/master
Browse files Browse the repository at this point in the history
fix: Android setLayoutAnimationEnabledExperimental on test
  • Loading branch information
renrizzolo authored Nov 4, 2020
2 parents a775623 + 0293470 commit 0c6091d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.8.1 - 2020-11-03

### Fixed

- React NAtive's UIManager.setLayoutAnimationEnabledExperimental causing tests fail. This version has fix for it. \n Details:
```sh
TypeError: _reactNative.UIManager.setLayoutAnimationEnabledExperimental is not a function
```

## 0.8.0 - 2020-10-01

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion lib/components/RowItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class RowItem extends Component {
super(props)

if (Platform.OS === 'android') {
UIManager.setLayoutAnimationEnabledExperimental(true)
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true)
}
this.state = {
showSubCategories: false,
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-sectioned-multi-select",
"version": "0.8.0",
"version": "0.8.1",
"description": "a multi (or single) select component with support for sub categories, search, chips.",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit 0c6091d

Please sign in to comment.