Hi,
Web panel content is not visible after navigating to issue and expanding it.
Steps to reproduce
90% reproducible with simple atlassian-connect.json and index.html (see below).
Disable “New Jira issue view” in personal settings and follow the steps:
- Collapse “Text Right Content” clicking it to get “> Text Right Content”
- Press F5 to refresh the page
- Expand “Text Right Content” clicking it to get “\/ Text Right Content”
- “Text value” is not visible.
When repeating steps with expanded “Text Right Context” in step 1, everything works.
It also works fine in new issue view.
Is it a bug? or am I missing something?
Notes from debugging
When it works I see height set to 150, when it fails height is set to 0.
atlassian-connect.json
{
"key": "test-right-context",
"name": "Test Right Context",
"baseUrl": "<url>",
"authentication": {
"type": "none"
},
"modules": {
"webPanels": [
{
"key": "test-right-context-right",
"location": "atl.jira.view.issue.right.context",
"weight": 50,
"name": {
"value": "Test Right Context"
},
"url": "/index.html"
}
]
}
}
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="https://unpkg.com/@atlaskit/css-reset@5.0.12/dist/bundle.css" />
<script src="https://connect-cdn.atl-paas.net/all-debug.js" type="text/javascript"></script>
</head>
<body>
<div>Text value</div>
</body>
</html>