cytoscape / cytoscape.js-cxtmenu

Context menu for Cytoscape.js
MIT License
165 stars 83 forks source link

Icons not displayed for a split second when opening menu for first time #125

Closed Djamieson98 closed 3 years ago

Djamieson98 commented 3 years ago

If i use an icon for one of the items in the cxtmenu, when opening the menu for the first time it will display the string for a split second before rendering the icon.

This is more noticeable when you have multiple items displaying on the same menu item.

It also happens on the demo (see attached video)

Is there any way to instantly display the icon instead of rendering the string?

https://user-images.githubusercontent.com/84366168/131936150-7ee13dc1-ce2c-4edc-b79f-29eb7b62102c.mov

stale[bot] commented 3 years ago

This issue has been automatically marked as stale, because it has not had activity within the past 14 days. It will be closed if no further activity occurs within the next 7 days. If a feature request is important to you, please consider making a pull request. Thank you for your contributions.

maxkfranz commented 3 years ago

This doesn't seem to be an issue with Cytoscape but a more general issue with your app's HTML/CSS etc.

In future, please post questions to Stack Overflow.

Please follow the Stack Overflow guidelines to be considerate of the community and to improve the chances of receiving a good answer.