From ec70f33ecac58ead8fc24c36fbea5ea3dd3d966d Mon Sep 17 00:00:00 2001 From: David Walsh Date: Wed, 14 Oct 2020 11:46:14 -0500 Subject: [PATCH] Try disable swap button so it cannot be focused (#9602) --- ui/app/components/ui/icon-button/icon-button.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/components/ui/icon-button/icon-button.js b/ui/app/components/ui/icon-button/icon-button.js index 4b19d1471..16767bf5e 100644 --- a/ui/app/components/ui/icon-button/icon-button.js +++ b/ui/app/components/ui/icon-button/icon-button.js @@ -11,6 +11,7 @@ export default function IconButton ({ onClick, Icon, disabled, label, tooltipRen className={classNames('icon-button', className, { 'icon-button--disabled': disabled })} data-testid={props['data-testid'] ?? undefined} onClick={onClick} + disabled={disabled} > {renderWrapper( <>