Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-table): fix row navigation and focus handling #876

Merged
merged 8 commits into from
Nov 1, 2019

Conversation

ilhan007
Copy link
Member

@ilhan007 ilhan007 commented Oct 22, 2019

Fixes: #861

@ilhan007 ilhan007 changed the title fix(ui5-table): fix row navigation with arrow keys wip(ui5-table): fix row navigation with arrow keys Oct 28, 2019
@ilhan007 ilhan007 changed the title wip(ui5-table): fix row navigation with arrow keys fix(ui5-table): fix row navigation with arrow keys Oct 29, 2019
@ilhan007 ilhan007 force-pushed the fix-tabble-navigation branch from cf300c7 to 1d0950b Compare October 29, 2019 11:54
@ilhan007 ilhan007 changed the title fix(ui5-table): fix row navigation with arrow keys fix(ui5-table): fix row navigation and focus handling Oct 29, 2019
MapTo0
MapTo0 previously requested changes Oct 30, 2019
@@ -80,6 +107,11 @@ class TableRow extends UI5Element {
return;
}

this.cells.forEach(cell => {
cell.removeEventListener("click", this.fnOnCellClick);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you better fire some event from the cell and rely on bubbling so you can catch it in the Row

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@@ -210,6 +210,10 @@ class Table extends UI5Element {
}
}

onColumnHeaderClick() {
this.getDomRef().querySelector(`#${this._id}-columnHeader`).focus();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wish we make this part of the item navigation but its fine for now

Copy link
Member Author

@ilhan007 ilhan007 Oct 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@ilhan007 ilhan007 requested a review from MapTo0 October 30, 2019 15:28
@ilhan007 ilhan007 dismissed MapTo0’s stale review October 30, 2019 15:28

comments addressed

@ilhan007 ilhan007 closed this Oct 31, 2019
@ilhan007 ilhan007 reopened this Oct 31, 2019
@ilhan007 ilhan007 merged commit f69f42c into master Nov 1, 2019
@ilhan007 ilhan007 deleted the fix-tabble-navigation branch November 1, 2019 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui5-table keyboard navigation does not work
2 participants