Hello.
I got following code:
<b:Nav alignment="RIGHT" addStyleNames="{style.panel}">
<b:DropdownButton ui:field="myBtn" text="test" >
<h:MyPopupPanel ui:field="myPopup"/>
</b:DropdownButton>
</b:Nav>
Now on my panel I have few controls... like input boxes. No matter what I click in this dropdownbutton menu... panel disappears (closes). And that is not good. How can I prevent it?
I tried the same with following code:
<b:Nav alignment="RIGHT" addStyleNames="{style.panel}">
<b:DropdownButton rightDropdown="true" icon="USER" ui:field="loginBtn" text="{cc.loginLoginWidget}" >
<g:VerticalPanel verticalAlignment="ALIGN_MIDDLE" >
<b:Label ui:text="{cc.email}:" styleName='text'/>
<b:TextBox alternateSize="LARGE"/>
<b:Label ui:text="{cc.password}:" styleName='text' />
<b:PasswordTextBox/>
<b:Button ui:text="{cc.loginLoginWidget}" />
</g:VerticalPanel>
</b:DropdownButton>
</b:Nav>
and no difference. Always closing on click ... no matter where.