Inline dialog doesn't show up

I am trying to display an inline dialog element from the AUI library. 

<div class="aui-item narrow-item">
  <a data-aui-trigger aria-controls="show-on-hover" href="#show-on-hover">
    <span class="aui-icon aui-icon-small aui-iconfont-help float-right">Help</span>
  <aui-inline-dialog id="show-on-hover" responds-to="hover" alignment="right middle">
    <p>First paragraph</p>
    <p>Second paragraph</p>
    <p>Third paragraph</p>

I have referenced AUI libraries in the <head> section on my page

&lt;link rel="stylesheet" href="//" media="all"&gt;
&lt;script src="//"&gt;&lt;/script&gt;
&lt;script src="//"&gt;&lt;/script&gt;

However, for some reason the dialog just doesn't appear.

Any ideas why?

16 answers

0 vote

Those docs say that inline dialog is "Not in core". Have you tried also including aui-experimental.(js|css) in the head of your page?

Yup — the custom element version of the <aui-inline-dialog> element is only in experimental.

See,output for a working example.

You both are right, thanks. It shows up now. Except for a couple of issues. (1) The inline dialog is not displayed next to the element that triggered - it displays at (what seems to be) a random edge of the page. (2) Is there a way to set dialogue max width? It now displays almost screen-wide.


#id-of-your-inline-dialog {
    max-width: 300px;

Thanks @Sean Curtis, I already got that, I shouldn't have even asked smile How about the (1) part of my question? What determines where the dialog will display?

@Sean Curtis, could you please give me any clues as to why my inline-dialog is mis-positioned? Thanks

I'd have to see a screenshot @Arturas Rimkus. 

Can I send you the html and css file? You could then see the exact code.

@Arturas Rimkus could you reproduce your example on jsbin? Use,output as a starting point (I copied your original code in there)

I tried, but it's not rendering properly - console says AJS (to run Atlassian scripts) is not defined.

You got that error using the jsbin link I posted above?

Yes. It works however running my html+css standalone. How can I send those over?

0 vote

Hi @Sean Curtis and @Arturas Rimkus now that we have released the Cloud Development Environment ( Arturas could create a cloud development environment, install his add-on there, and then create a user for Sean and give him access. Then you could both diagnose the problem against the same JIRA instance and get to the root cause quickly instead of this back and forth.

Just a quick suggestion. smile


@Robert Massaioli, thanks for the suggestion, we have now moved to Cloud Dev. @Sean Curtis, how can I add you to it? I believe I'll need your email address? Is there a way to PM here? smile

@Arturas Rimkus scurtis@ is my email.

Hi @Sean Curtis. Have you received my email? Thanks.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you