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

Submenu indicator is not found #81

Open
Yagnap opened this issue Jun 26, 2024 · 1 comment
Open

Submenu indicator is not found #81

Yagnap opened this issue Jun 26, 2024 · 1 comment

Comments

@Yagnap
Copy link

Yagnap commented Jun 26, 2024

The default submenu indicator (assets/submenu-indicator-default.svg) is not shown when not explicitly added with its absolute path (e.g. /node_modules/cytoscape-context-menus/assets/submenu-indicator-default.svg) in the options in cy.contextMenus(option) as an additional field.
The image is not found. It works in the demo because there, the files are all placed in the root directory and not in a subfolder.
We also have an issue on this in our project: snikproject/graph#423

@hasanbalci
Copy link
Contributor

Do you have any solution for this? If you have, please open a PR to the unstable branch. Otherwise, maybe we can add a note about changing the image link in the explanation of corresponding option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants