score:4

Accepted answer

According to the docs, autoFocus is not supported prop (like it is on <input /> element). Haven't used this ui lib before, so can't say if setting focus manually by using ref would work.

UPDATE:

Just have played a bit and it looks like that focus can be set manually:

  1. demo
  2. code

Another update:

  1. demo with drawer
  2. code

Related Query

More Query from same tag