@@ -22,14 +22,28 @@
-
- {{yield (hash
- link=(component "rose/dropdown/link" style=this.style)
- button=(component "rose/dropdown/button" style=this.style)
- item=(component "rose/anonymous" class="rose-dropdown-item")
- separator=(component "rose/anonymous" tagName="hr" class="rose-dropdown-separator")
- section=(component "rose/dropdown/section" style=this.style)
- )}}
-
+ {{#if @ignoreClickInside}}
+
+ {{yield (hash
+ link=(component "rose/dropdown/link" style=this.style)
+ button=(component "rose/dropdown/button" style=this.style)
+ item=(component "rose/anonymous" class="rose-dropdown-item")
+ separator=(component "rose/anonymous" tagName="hr" class="rose-dropdown-separator")
+ section=(component "rose/dropdown/section" style=this.style)
+ key-value=(component "rose/dropdown/key-value")
+ )}}
+
+ {{else}}
+
+ {{yield (hash
+ link=(component "rose/dropdown/link" style=this.style)
+ button=(component "rose/dropdown/button" style=this.style)
+ item=(component "rose/anonymous" class="rose-dropdown-item")
+ separator=(component "rose/anonymous" tagName="hr" class="rose-dropdown-separator")
+ section=(component "rose/dropdown/section" style=this.style)
+ key-value=(component "rose/dropdown/key-value")
+ )}}
+
+ {{/if}}
diff --git a/addons/rose/addon/components/rose/dropdown/index.stories.mdx b/addons/rose/addon/components/rose/dropdown/index.stories.mdx
index a6b7a1b52..58a0575bf 100644
--- a/addons/rose/addon/components/rose/dropdown/index.stories.mdx
+++ b/addons/rose/addon/components/rose/dropdown/index.stories.mdx
@@ -63,6 +63,24 @@ A simple dropdown component with support for links and buttons.
}}
+