fix: Issues with widget name focus (#14504)

* fix: black border on organisation menu name

* fix: not focusing on widget name on reflow
This commit is contained in:
Aswath K 2022-06-16 14:33:06 +05:30 committed by GitHub
parent d7eb5c58fc
commit 06422d1ce2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -748,6 +748,7 @@ function ApplicationsSection(props: any) {
)}
{(currentUser || isFetchingApplications) && !isMobile && (
<Menu
autoFocus={false}
className="t--workspace-name"
closeOnItemClick
cypressSelector="t--workspace-name"

View File

@ -119,7 +119,7 @@ function* addWidgetAndMoveWidgetsSaga(
yield put(updateAndSaveLayout(updatedWidgetsOnAddAndMove));
yield put({
type: ReduxActionTypes.RECORD_RECENTLY_ADDED_WIDGET,
payload: [newWidget.widgetId],
payload: [newWidget.newWidgetId],
});
log.debug("move computations took", performance.now() - start, "ms");
} catch (error) {