Skip to content

Commit 0c6091d

Browse files
authored
Merge pull request #219 from Kjaer/master
fix: Android setLayoutAnimationEnabledExperimental on test
2 parents a775623 + 0293470 commit 0c6091d

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.8.1 - 2020-11-03
4+
5+
### Fixed
6+
7+
- React NAtive's UIManager.setLayoutAnimationEnabledExperimental causing tests fail. This version has fix for it. \n Details:
8+
```sh
9+
TypeError: _reactNative.UIManager.setLayoutAnimationEnabledExperimental is not a function
10+
```
11+
312
## 0.8.0 - 2020-10-01
413

514
### Fixed

lib/components/RowItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class RowItem extends Component {
1919
super(props)
2020

2121
if (Platform.OS === 'android') {
22-
UIManager.setLayoutAnimationEnabledExperimental(true)
22+
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true)
2323
}
2424
this.state = {
2525
showSubCategories: false,

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-sectioned-multi-select",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"description": "a multi (or single) select component with support for sub categories, search, chips.",
55
"main": "index.js",
66
"directories": {

0 commit comments

Comments
 (0)