cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori My Travel Request / Backspace navigation

Former Member
0 Kudos

Hi

I am using the Fiori My Travel Request Wave 1 application. I discovered a strange behavior where I have no idea why it happens.

E.g. if I navigate to the form view to request a new travel and hit the backspace key it performs a navigation back to the previous screen but only renders half of it.

Did anyone ever faced a similar behavior?

best regards

Thomas Maier

Accepted Solutions (1)

Accepted Solutions (1)

SergioG_TX
Active Contributor
0 Kudos

Hi Thomas,

the backspace key may be triggering an event. you can intercept the backspace event and then you may do a event.preventDefault()

see if that works

Sergio

Former Member
0 Kudos

Hi Sergio

Thanks for the hint. Any idea how I can catch the event in browser developer tools (e.g. chrome) without knowing the piece of code that executes it?

Thank you.

best regards

Thomas Maier

SergioG_TX
Active Contributor
0 Kudos

look at the $(document).keydown event and inside of it.. look at the event.keyCode

there are different keyCode values for different keys (enter, backspace, etc)

Former Member
0 Kudos

Hi Sergio

Found out that the event is raised in the sap-ui-core.js.

Thank you very much for your hints.

best regards

Thomas Maier

Former Member
0 Kudos

Hi.,

           I am also facing same issue., Can u please explain me how to overcome this issue?

-Mahendran

Answers (0)