From 8636f77d3455de4c3f856ba0954b9736fd0ccc65 Mon Sep 17 00:00:00 2001 From: Cecilia Avila Date: Thu, 7 Nov 2019 11:51:31 -0300 Subject: [PATCH] Manage tabIndex attribute for hidden TextFields --- .../endpointExplorer/endpointEditor/endpointEditor.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/app/client/src/ui/shell/explorer/endpointExplorer/endpointEditor/endpointEditor.tsx b/packages/app/client/src/ui/shell/explorer/endpointExplorer/endpointEditor/endpointEditor.tsx index 39cf6e3ce..72ac02d7c 100644 --- a/packages/app/client/src/ui/shell/explorer/endpointExplorer/endpointEditor/endpointEditor.tsx +++ b/packages/app/client/src/ui/shell/explorer/endpointExplorer/endpointEditor/endpointEditor.tsx @@ -192,12 +192,14 @@ export class EndpointEditor extends Component @@ -206,12 +208,14 @@ export class EndpointEditor extends Component @@ -303,6 +307,11 @@ export class EndpointEditor extends Component { + if (node.hasAttribute('tabIndex')) { + node.setAttribute('tabIndex', expanded ? '0' : '-1'); + } + }); }; private absContentRef = (ref: HTMLDivElement): void => {