-
Notifications
You must be signed in to change notification settings - Fork 582
Closed
Description
I have "highlighted:" label and simple input element on a page.
Set highlightFirstSuggestion to true.
Provide onSuggestionHighlighted method that returns suggested object and sets highlighted label value to suggested.name property.
- First bug:
- Focus on the input field
- Type "c". First highlighted item is "C", - "highlighted: C". Its ok!
- Continue typing "+" to be "c+". First highlighted item is "C++", but highlighted label still "C" - "highlighted: C". not ok!
Observed behaviour: "highlighted: C"
Expected behaviour: "highlighted: C++"
- Second bug:
- Focus on the input field
- Type "c". First highlighted item is "C", - "highlighted: C". Its ok!
- Move your mouse on other suggested items. onSuggestionHighlighted doesnt work properly and highlighted label is still "C" - "highlighted: C". not ok!
Observed behaviour: "highlighted: C".
Expected behaviour: "highlighted: C++" or "highlighted: C#" or "highlighted: Clojure"... up to what element you hover on".
Metadata
Metadata
Assignees
Labels
No labels