Fix editing bug (#480)

This commit is contained in:
Steve Ruiz 2022-01-03 09:39:27 +00:00 committed by GitHub
parent e7a2f5d6d4
commit 97ba1505ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -195,7 +195,11 @@ export class SelectTool extends BaseTool<Status> {
break
}
case 'Tab': {
if (this.status === Status.Idle && this.app.selectedIds.length === 1) {
if (
!this.app.pageState.editingId &&
this.status === Status.Idle &&
this.app.selectedIds.length === 1
) {
const [selectedId] = this.app.selectedIds
const clonedShape = this.getShapeClone(selectedId, 'right')