Restore Canvas element key simplification to prevent blinking icons (#113693)
* Simplify Canvas element key to prevent blinking icons * Fix formatting with prettier
This commit is contained in:
@@ -1108,12 +1108,7 @@ export class ElementState implements LayerElement {
|
||||
tabIndex={0}
|
||||
style={{ userSelect: 'none' }}
|
||||
>
|
||||
<item.display
|
||||
key={`${this.UID}/${this.revId}`}
|
||||
config={this.options.config}
|
||||
data={this.data}
|
||||
isSelected={isSelected}
|
||||
/>
|
||||
<item.display key={this.UID} config={this.options.config} data={this.data} isSelected={isSelected} />
|
||||
</div>
|
||||
{this.showActionConfirmation && this.renderActionsConfirmModal(this.getPrimaryAction())}
|
||||
{this.showActionVarsModal && this.renderVariablesInputModal(this.getPrimaryAction())}
|
||||
|
||||
Reference in New Issue
Block a user