Skip to content

Commit

Permalink
Merge pull request #546 from hossein-zare/dev-5.x
Browse files Browse the repository at this point in the history
Bugfix: disabledStyle
  • Loading branch information
hossein-zare authored May 6, 2022
2 parents 91f8276 + 4e57a1e commit 7e31b39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ function Picker({
zIndexContainer,
...[containerStyle].flat(),
...[_disabledStyle].flat()
]), [zIndexContainer, containerStyle, _disabledStyle, THEME]);
]), [zIndexContainer, containerStyle, disabled, _disabledStyle, THEME]);

/**
* The arrow icon container style.
Expand Down Expand Up @@ -1813,4 +1813,4 @@ const styles = StyleSheet.create({
}
});

export default memo(Picker);
export default memo(Picker);

0 comments on commit 7e31b39

Please sign in to comment.