bpmn-io/bpmn-js

The template element(hover) icon rendering error

Open

#2.206 aberto em 21 de jul. de 2024

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (1.249 forks)batch import
backlogbugelement templatesgood first issuemodeling

Métricas do repositório

Stars
 (7.739 stars)
Métricas de merge de PR
 (Mesclagem média 17h 6m) (4 fundiu PRs em 30d)

Description

Describe the Bug

An element is backed by an element template with an attached icon. If I preview the element for append, then the custom icon is not shown.

image

Describe the solution

The preview picks up the custom icon, if @bpmn-io/element-template-icon-renderer is hooked up.

Environment

  • Browser: Chrome 126.0.6478.63
  • OS: macos 14.5
  • Library version: bpmn-js 17.9.1

Guia do colaborador