Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

List: Different behaviour in 1.14 and 1.18

$
0
0

Hi guys,

Recently i upgraded the library from 1.14 to 1.18 and i realised a strange behavior for sap.m.List.

Code:

<List mode="SingleSelectMaster" select="handleSelect"...>


The handleSelect will be fired when the user selects on any item in the list. It will bring user to a detail page.


In the past, the function handleSelect will always be fired when the user does the following:

1. Selects a list item,

2. HandleSelect is fired and brings user to detail page.

3. User navigates back to the detail page.

4. Select the same list item (in Step 1)

5. HandleSelect is fired again (same as Step 2).


Now in 1.18,

1. Selects a list item,

2. HandleSelect is fired and brings user to detail page.

3. User navigates back to the detail page.

4. Select the same list item (in Step 1)

5. HandleSelect is never fired. It is only fired if I select a different list item.


Could someone explain me why?

How could I persistent whenever user selects a list item?





Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>