From b6a1d52b3761c9dce5e68bbac46cc14e9996231e Mon Sep 17 00:00:00 2001 From: Jesper We Date: Wed, 21 Feb 2018 10:23:55 +0100 Subject: [PATCH] Page input field should follow the readOnly input prop. Without this mobile devices will briefly flash a virtual keyboard that then goes away. --- src/TimePicker.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx index 7659bc7..cb7593d 100644 --- a/src/TimePicker.jsx +++ b/src/TimePicker.jsx @@ -289,7 +289,8 @@ export default class Picker extends Component { onBlur={onBlur} autoFocus={autoFocus} onChange={noop} - /> + readOnly={!!inputReadOnly} + /> -- 2.41.0