Enterprise: ListView: Select on Focus not working correctly

Created on 19 Nov 2020  路  4Comments  路  Source: infor-design/enterprise

If a ListView is set up with the selectOnFocus option set, the row is automatically selected which is correct, However, the first click on a different row has no effect. Second and subsequent clicks work okay and all is fine when using the keyboard.

To Reproduce
Steps to reproduce the behavior:

  1. Set up a ListView with selectOnFocus option set.
  2. Add 3 items to it the list.
  3. Show the listview
    SessionScreen1png
  4. click once on a row other than the selected row -> Address row had been clicked once
    SessionScreen2
  5. Click again on that row
    SessionScreen3
  6. Row now selected okay.

Expected behavior
Should only need to click once to select a different row

Version
v4.31.2

Platform

  • Sunsystems
  • Device: (if applicable) [e.g. iPhone 6 or Samsung Galaxy S6]
  • Windows 10
  • Chrome
  • Browser Version: 86.0.4240.198 (Official Build) (64-bit)
[2] sunsystems type

All 4 comments

So let me clarify these steps we are using selectOnFocus: true

  1. Go to https://master-enterprise.demo.design.infor.com/components/listview/example-singleselect.html
  2. Tab into the listview - item is selected on focus as expected
  3. "Attempt" to click row 2 to select - the first time this does not work - but the second time it will

My screenshots only have 2 items on them (first row is the heading), whereas my reproduce steps mention 3 items. sorry for the confusion.

Re your clarification
Agreed, except that its the opposite result to what you have said in step 3. i.e. click row 2 DOES NOT work first time but DOES work second and subsequent times.

QA Passed. Now working as expected.
image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tmcconechy picture tmcconechy  路  25Comments

pwpatton picture pwpatton  路  17Comments

jamie-norman picture jamie-norman  路  55Comments

jamie-norman picture jamie-norman  路  18Comments

508it picture 508it  路  33Comments