fix(editor): keep the drawing still when the selection changes
The « Sélection : … » tag above the drawing mounted on select and unmounted on deselect, moving the canvas. It is now sr-only text, not live, in both twins; board 04 deviation recorded (owner 2026-11-12).
This commit is contained in:
1 parent
9f092ec1e2
commit
927537b343
6 files changed
+91
-8
No files matched your search
@@ -524,7 +524,7 @@ export const creationPanel = (page: Page) =>
|
||||
export const annotationList = (page: Page, dict: Dict) =>
|
||||
page.getByRole('list', { name: dict['editor.annotations.list'] })
|
||||
|
||||
/** The tag over the drawing while an annotation is selected (the card is then hidden). */
|
||||
/** The screen-reader-only tag rendered while an annotation is selected. */
|
||||
export const selectionTag = (page: Page) =>
|
||||
page.getByTestId('annotation-selection-tag')
|
||||
|
||||
|
||||
Reference in new issue
Block a user