cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Tab key navigation on version 1.26.7

former_member182374
Active Contributor
0 Kudos

Hello Experts,

Has anyone noticed that there is a problem with tab key navigation on version 1.26.7?

I posted this question http://scn.sap.com/thread/3700244 a week ago (default behavior worked) but now it doesn't (move from 'A' to 'B' by using tab key).


JS Bin - Collaborative JavaScript Debugging

Regards,

Omri

Accepted Solutions (1)

Accepted Solutions (1)

former_member182374
Active Contributor
0 Kudos

Hi,

I know this is an old thread (and I've already opened OSS message) but does someone has  a solution for this issue in newer versions? (besides implement it on my own).

Regards,

Omri

saivellanki
Active Contributor
0 Kudos

Hi Omri,


Will this help? Plunker

Regards,

Sai Vellanki.

former_member182374
Active Contributor
0 Kudos

Hi Sai,

Thanks for your quick solution!

However, you implemented a feature that was built in in older versions.

I'll wait to SAP support answer and update this thread...

Regards,

Omri

saivellanki
Active Contributor
0 Kudos

Omri,

Yes please share SAP response in this thread. It will be useful.

My solution is just a work around to make tab work in table.


Regards,

Sai Vellanki.

former_member182374
Active Contributor
0 Kudos

Hi Sai,

I got an answer from SAP:


The keyboard behavior was changed due to accessibility considerations.

You can imagine that someone using just the keyboard would not want to

tab through potentially millions of fields in a table before reaching

the end.

However, we realized that we broke the scenario where the user just

wants to quickly go through some fields and maybe edit the values.

We've worked on a better concept that combines both use cases. We plan

to implement this keyboard handling in one of the next releases. For

the time being, I'll put this support ticket on hold. I hope this is

ok for you.

I wrote to SAP that accessibility is important but sometimes SAPUI5 is used for very narrow intranet scenarios and it's very hard to convince the users to move from SAPGUI to SAPUI5 when you 'take' them the option for tab navigation in "Create Requisition" application.

When I'll get an update from SAP, I will update this thread.

For now I'll use your workaround (and add 'shift - tab' functionality).

Full points awarded.

Regards,

Omri

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi, I have the same problem. The tab navigation only works, if I start by clicking on something else than text field, like combo box, checkbox, text view.. : http://jsbin.com/didocupuhe/1/edit?html,output

But if I click text field first, not working.

I don't know which version caused this, but it works in 1.20.1, that we have on one server, and stopped working in 1.26.1 that is on another server.

Any help will be appreciated.

former_member182372
Active Contributor
0 Kudos

attach it to template not column

oTable.addColumn(new sap.ui.table.Column({

    label : new sap.ui.commons.Label({

    text : "Col3",

    hAlign : sap.ui.core.HorizontalAlign.Center,

    }),

    template : new sap.ui.commons.TextField({

    value : '{c3}',

    }).attachBrowserEvent("keyup", onKeyup)

    }));

former_member182374
Active Contributor
0 Kudos

Hi Maxim,

You're right regarding the binding to textfield and not to column (in my actual program this is bound to the textfield and in the example I did the bind to column by mistake).

However, this is not the problem: I put all the custom stuff in comment and now I have a simple table.

http://jsbin.com/yihuji/1/edit

The cell with the value 'A' is in focus and when I click the tab key I  expect it to move to the next cell (the cell with the value 'B').

This worked in previous versions (and still works on a local and older eclipse plugin).

Regards,

Omri