Skip to content

Commit

Permalink
Fixed HSB color picker
Browse files Browse the repository at this point in the history
  • Loading branch information
bhujoshi committed May 26, 2024
1 parent cc39448 commit 7b51509
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions components/ColorPickerModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,13 @@ export default function ColorPickerModal({ initialColor, onColorSelected, onClos
contentContainerStyle={styles.scrollViewContent}
scrollEnabled={activeTab !== 'wheel'} // TODO: find if there is some other way to solve this issue. - https://github.com/croma-app/huehive-mobile-app/pull/236/files#r1609216412
showsVerticalScrollIndicator={false}>
<View style={styles.colorPickerContainer}>
<TouchableOpacity
onPress={(e) => {
e.stopPropagation();
}}
style={styles.colorPickerContainer}>
{tabs.find((tab) => tab.key === activeTab)?.component}
</View>
</TouchableOpacity>
</ScrollView>
<View style={styles.bottomContainer}>
<View style={styles.selectedColorView}>
Expand Down

0 comments on commit 7b51509

Please sign in to comment.