Skip to content

Commit a98b109

Browse files
authored
Update TimePicker.jsx
1 parent 4d9738e commit a98b109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TimePicker.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export default class Picker extends Component {
129129
onTab = (toPrevious) => {
130130
this.setOpen(false);
131131

132-
const allInputs = document.querySelectorAll('input');
132+
const allInputs = document.querySelectorAll('input,textarea,select');
133133
for (let i = 0; i < allInputs.length; i++) {
134134
if (allInputs[i] === this.picker) {
135135
if (toPrevious === true && i !== 0) {

0 commit comments

Comments
 (0)