cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

Support for Autofocus on the form field on page load

Open diptigandhi24 opened this issue 6 years ago • 0 comments
trafficstars

Is your feature request related to a problem? Please describe. I have a input field and submit button, on pressing the submit button it opens the modal, but the cursor is still active in the input field behind the modal,also my modal has a form in it, so just wanted to autofocus on the first input field. Describe the solution you'd like

  1. autofocus:true on TextArea 2.I tried implementing refs but that didn't work as TextArea is functional Component

Describe alternatives you've considered Nope

Additional context

diptigandhi24 avatar Dec 01 '18 11:12 diptigandhi24