Skip to content
#

typeahead

Here are 132 public repositories matching this topic...

ProtectedVoid
ProtectedVoid commented Aug 14, 2019

Version

3.4.6

Steps to reproduce

https://codesandbox.io/s/react-bootstrap-typeahead-hint-failure-0775h

  • Continue typing to force the input field to autoscroll the input text

Expected Behavior

When using the Typeahead with long strings (when multiple=false), the hint text should always align with the input text, even when the typed text exceeds the defined width of the input

bug
samikeijonen
samikeijonen commented Apr 14, 2020

I noticed that assistiveHint text appears in search engine results.

<span id="search-topic-input-desktop-id__assistiveHint" style="display: none;">When autocomplete results are available use up and down arrows to review and enter to select.  Touch device users, explore by touch or with swipe gestures.</span>

That's probably not the best experience for search results.

I w

eldyvoon
eldyvoon commented Jun 29, 2018

Are you reporting a bug?

renderInputComponent is not optional? when it's undefined it should render the default input component. For now I have to do this


if (custom) {
  return (
    <Autosuggest
      {...props}
      renderInputComponent={() => this.customComponent()}
    />
  )
}

return `<Autosuggest  {...props} renderInputComponent={() => this.customComponent()} />`
`

Improve this page

Add a description, image, and links to the typeahead topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the typeahead topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.