Skip to content

Commit 7e633b0

Browse files
committed
Merge branch 'patch/v1.5.4'
2 parents 27296cf + 2bfac95 commit 7e633b0

File tree

4 files changed

+42
-22
lines changed

4 files changed

+42
-22
lines changed

README.md

Lines changed: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,26 @@ Great for timers, alarms and duration inputs ⏰🕰️⏳
1111

1212
Works with Expo and bare React Native apps.
1313

14-
- [Demos 📱](#demos-)
15-
- [Peer Dependencies 👶](#peer-dependencies-)
16-
- [Installation 🚀](#installation-)
17-
- [Examples 😎](#examples-)
18-
- [Timer Picker Modal (Dark Mode) 🌚](#timer-picker-modal-dark-mode-)
19-
- [Timer Picker Modal (Light Mode) 🌞](#timer-picker-modal-light-mode-)
20-
- [Timer Picker with Customisation (Dark Mode) 🌒](#timer-picker-with-customisation-dark-mode-)
21-
- [Timer Picker with Customisation (Light Mode) 🌔](#timer-picker-with-customisation-light-mode-)
22-
- [Props 💅](#props-)
23-
- [TimerPicker ⏲️](#timerpicker-️)
24-
- [Custom Styles 👗](#custom-styles-)
25-
- [TimerPickerModal ⏰](#timerpickermodal-)
26-
- [Custom Styles 👕](#custom-styles--1)
27-
- [Methods 🔄](#methods-)
28-
- [TimerPicker](#timerpicker)
29-
- [TimerPickerModal](#timerpickermodal)
30-
- [Contributing 🧑‍🤝‍🧑](#contributing-)
31-
- [Dev Setup](#dev-setup)
32-
- [GitHub Guidelines](#github-guidelines)
33-
- [License 📝](#license-)
14+
- [Demos 📱](#demos-)
15+
- [Peer Dependencies 👶](#peer-dependencies-)
16+
- [Installation 🚀](#installation-)
17+
- [Examples 😎](#examples-)
18+
- [Timer Picker Modal (Dark Mode) 🌚](#timer-picker-modal-dark-mode-)
19+
- [Timer Picker Modal (Light Mode) 🌞](#timer-picker-modal-light-mode-)
20+
- [Timer Picker with Customisation (Dark Mode) 🌒](#timer-picker-with-customisation-dark-mode-)
21+
- [Timer Picker with Customisation (Light Mode) 🌔](#timer-picker-with-customisation-light-mode-)
22+
- [Props 💅](#props-)
23+
- [TimerPicker ⏲️](#timerpicker-️)
24+
- [Custom Styles 👗](#custom-styles-)
25+
- [TimerPickerModal ⏰](#timerpickermodal-)
26+
- [Custom Styles 👕](#custom-styles--1)
27+
- [Methods 🔄](#methods-)
28+
- [TimerPicker](#timerpicker)
29+
- [TimerPickerModal](#timerpickermodal)
30+
- [Contributing 🧑‍🤝‍🧑](#contributing-)
31+
- [Dev Setup](#dev-setup)
32+
- [GitHub Guidelines](#github-guidelines)
33+
- [License 📝](#license-)
3434

3535
<br>
3636

@@ -260,6 +260,16 @@ return (
260260
pickerContainer: {
261261
marginRight: 6,
262262
},
263+
pickerItemContainer: {
264+
width: 100
265+
},
266+
pickerLabelContainer: {
267+
right: -20,
268+
top: 0,
269+
bottom: 6,
270+
width: 40,
271+
alignItems: "center",
272+
},
263273
}}
264274
/>
265275
</View>

example/App.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,16 @@ export default function App() {
205205
pickerContainer: {
206206
marginRight: 6,
207207
},
208+
pickerItemContainer: {
209+
width: 100
210+
},
211+
pickerLabelContainer: {
212+
right: -20,
213+
top: 0,
214+
bottom: 6,
215+
width: 40,
216+
alignItems: "center",
217+
},
208218
}}
209219
/>
210220
</View>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"url": "https://github.com/troberts-28"
77
},
88
"license": "MIT",
9-
"version": "1.5.3",
9+
"version": "1.5.4",
1010
"main": "dist/commonjs/index.js",
1111
"types": "dist/typescript/src/index.d.ts",
1212
"scripts": {

src/components/TimerPicker/DurationScroll.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ const DurationScroll = forwardRef<DurationScrollRef, DurationScrollProps>(
339339
style={{
340340
height:
341341
styles.pickerItemContainer.height * numberOfItemsToShow,
342-
overflow: "hidden",
342+
overflow: "visible",
343343
}}>
344344
<FlatList
345345
ref={flatListRef}

0 commit comments

Comments
 (0)