From aecd2a5b27c6f2b0e14286dbe5716d7110b6c8de Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Sat, 2 Nov 2019 23:35:44 +0300 Subject: [PATCH] Fix focus of library order item after change --- src/components/homescreensettings/homescreensettings.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/homescreensettings/homescreensettings.js b/src/components/homescreensettings/homescreensettings.js index e881edbdbd..633437d26e 100644 --- a/src/components/homescreensettings/homescreensettings.js +++ b/src/components/homescreensettings/homescreensettings.js @@ -330,6 +330,7 @@ define(['require', 'apphost', 'layoutManager', 'focusManager', 'globalize', 'loa if (next) { viewItem.parentNode.removeChild(viewItem); next.parentNode.insertBefore(viewItem, next.nextSibling); + focusManager.focus(e.target); } } else { @@ -339,6 +340,7 @@ define(['require', 'apphost', 'layoutManager', 'focusManager', 'globalize', 'loa if (prev) { viewItem.parentNode.removeChild(viewItem); prev.parentNode.insertBefore(viewItem, prev); + focusManager.focus(e.target); } } }