Hey everybody,
Recently I've stumbled in an issue with one of our plugins. We were getting this wierd error when using a Jira with a smaller window.
Error happens when windows forces Jira UI to collapse some menus under "More" and on mouse over a given websection, it would throw a JS error.
Uncaught TypeError: Cannot read property '_state' of null
with it's source in
module-key = 'com.atlassian.auiplugin:internal-@atlassian-aui-src-js-aui-internal-state
The reason why is that it should find the aui-dropdown menu for this websection, but it does not render, if the key contains something like "my.plugin.web-section".
But it properly renders if key is set as "my-plugin-web-section".
No errors occur if the window is wide enough for the menu item be presented individually.
Is there some documentation for best practices on this, or have I hit a bug?
Thanks Matt,
Your link is broken for me though =]
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Improve user experience across Jira with global settings
Learn how to set up and configure a Jira site, manage Jira permissions, and configure Jira apps and integrations.
Learning Path
Streamline projects across Jira with shared configurations
Build Jira work items with reusable configurations called schemes, and reduce administrative work with automation.
Learning Path
Become an effective Jira software project admin
Set up software projects and configure tools and agile boards to meet your team's needs.