openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

sap.m.SearchField: suggestion list is not shown after clearing field

Open LianeK opened this issue 10 years ago • 2 comments

OpenUI5 version: 1.36.4

Browser/version (+device/version): Chrome 50.0.2661.94,

Any other tested browsers/devices(OK/FAIL): IE 11 FAIL, Firefox 46.0.1 FAIL

URL (minimal example if possible): https://openui5beta.hana.ondemand.com/explored.html#/sample/sap.m.sample.SearchFieldSuggestions/preview

Steps to reproduce the problem:

  1. Click inside search field (-> Suggestion list is shown)
  2. Select one element (-> Suggestion List is hidden and selected element is inserted in search field)
  3. Clear search input with default cancel/clear button (x) (-> inserted element is vanished, placeholder is shown again)
  4. (optional) Click below search field (to lose focus)
  5. Click inside search field

What is the expected result? Full suggestion list is shown (I would prefer to see suggestion list without step 4, but at least after step 4 and 5)

What happens instead? Suggestion list is not shown.

Any other information? (attach screenshot if possible) I have to do following steps to see the full suggestion list again

  1. Click inside search field (-> Suggestion List is shown)
  2. Select one element (-> Suggestion List is hidden and selected element is inserted in search field)
  3. Clear search input with default cancel/clear button (x) (-> inserted element is vanished, placeholder again shown) **4. Click below search field (to lose focus)
  4. Click inside search field
  5. Click below search field (to lose focus)
  6. Click inside search field**

LianeK avatar May 11 '16 11:05 LianeK

Hi LianeK,

indeed... thanks for reporting! Tracked internally as 1670307495.

Regards Andreas

akudev avatar May 11 '16 12:05 akudev

Correction is done in 1.38 and master

ulasenka avatar May 24 '16 13:05 ulasenka