Hello,
I have  component from > @elastic/react-search-ui .
For searchbox desing customization used inputView.
But when I started typing suddenly autofocus is losing , so I need to enter cusor again into input element to continue typing.
Here is my code.
  <SearchBox
                              inputView={({
                                getAutocomplete,
                                getInputProps,
                                getButtonProps,
                              }) => (
                                 <>
                                    <div
                                      className="sui-search-box__wrapper">                
                                  <input  
                                        style={{ height:  "50px"}}
                                        className="sui-search-box__text-input"
                                        {...getInputProps({})}
                                      />
                                </div> 
                               </>
                            )}
                              shouldClearFilters={shouldClearFilters}
                              autocompleteMinimumCharacters={
                                autocompleteMinimumCharacters
                              }
                              autocompleteSuggestions={false}
                              searchAsYouType={true}
                              debounceLength={300}
                            
                              inputProps={{
                                placeholder: "type..."
                              }}
                            />
If this can be resolve using any event or react useRef or stopping re-rendering all solutions are welcome.
Also is there any way to access and modify input value using state or any logic.
Because setting value to input using value prop also not working.
searchbox is Used inside react functional component.
Thank you.