Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpmn-js@17.9.2 package ContextPadProvider.d.ts constructor missing parameter "appendPreview" #2228

Closed
kingsley-s opened this issue Sep 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@kingsley-s
Copy link

Describe the Bug

custom contextPad ,inject appendPreview, error:Expected 12 arguments, but got 13
if can't implement appendView in super function, error: ContextPadProvider.js appendPreview.cleanUp() error

contruct super appendPreview error: Expected 12 arguments, but got 13
image
ContextPadProvider.js error:
image

Expected Behavior

image

Environment

  • Browser: [ Chrome 126.0.6478.185]
  • OS: [mac os]
  • Library version: [17.9.2]
@kingsley-s kingsley-s added the bug Something isn't working label Sep 6, 2024
@nikku
Copy link
Member

nikku commented Sep 9, 2024

This should be fixed with recent versions of the library, cf. https://github.com/bpmn-io/bpmn-js/edit/develop/lib/features/context-pad/ContextPadProvider.js.

@nikku nikku closed this as completed Sep 9, 2024
@nikku
Copy link
Member

nikku commented Sep 9, 2024

Closed via ad7303c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants