react-datepicker icon indicating copy to clipboard operation
react-datepicker copied to clipboard

Disabling Mobile Keyboard Popup Without Using Readonly Mode in Datepicker

Open franmc01 opened this issue 2 years ago • 2 comments

Hello react-datepicker maintainers and community,I'm reaching out to inquire about a specific behavior of react-datepicker on mobile devices. Currently, when a user focuses on the date input field, the default virtual keyboard appears. For my use case, this behavior is not desirable, and I wish to disable the keyboard popup.I'm aware that setting the input field to readonly can prevent the keyboard from appearing, but this is not a suitable solution for me as it interferes with other functionalities of my application. Is there an alternative method to suppress the keyboard without resorting to readonly mode?I would greatly appreciate any guidance or workaround that you could provide.Thank you for your time and effort in maintaining such a useful project!Best regards, Francisco Marin

franmc01 avatar Nov 07 '23 19:11 franmc01

@martijnrusschen

franmc01 avatar Nov 09 '23 12:11 franmc01

check this if this thread helps.

click here #1480

Rohit-Saini7 avatar Dec 17 '23 04:12 Rohit-Saini7