on 2020 May 27 11:41 AM
Hi,
I am using history object to identify the direction am navigating.
var oHistory = sap.ui.core.routing.History.getInstance();
if( oHistory.getDirection() === "BackWards"){
//do some tasks
} else {
//do some other task
}
but when i open a tile(application) for the first time, the code "oHistory.getDirection()" should give direction as "NewEntry" but instead its giving direction as "BackWards" which is wrong.
Note: in sapui5 version 1.60(history-160-version.png) its working absolutely fine but in latest version i,e 1.71(history-171.png) its not working.
Please find the attachment for clear understanding
Regards
charanaraj sahus
User | Count |
---|---|
76 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.