File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -300,6 +300,9 @@ export function updateFocussedStateOnMutation(
300300 }
301301 }
302302
303+ //TODO: This logic for overlay position is already present in generateOverlay as `addFocusOverlay`.
304+ // We should refactor this to use the same logic. Refer "VB-593" branch for more details.
305+
303306 /**
304307 * Update the focus overlays if they exists.
305308 */
@@ -386,6 +389,8 @@ export function updateFocussedStateOnMutation(
386389 * Update the focus toolbar if it exists.
387390 */
388391
392+ //TODO: This logic for toolbar position is already present in same file as `positionToolbar`.
393+ // We should refactor this to use the same logic. Refer "VB-593" branch for more details.
389394 if ( focusedToolbar ) {
390395 const targetElementRightEdgeOffset =
391396 window . scrollX + window . innerWidth - selectedElementDimension . left ;
You can’t perform that action at this time.
0 commit comments