Jan 30, 2013, 9:12 AM
[FIXED] [#140] Textfield inside menu loses focus on mouse-out
Hello.
I want to implement an adress search inside a toolbar menu.
There is a problem, if I select the text inside the textfield, the focus is lost as soon as the mouse leaves the textfield. This is very annoying if the user wants to change the text because you always move the mouse a bit.
I have a sample to reproduce that bug:
Regards
I want to implement an adress search inside a toolbar menu.
There is a problem, if I select the text inside the textfield, the focus is lost as soon as the mouse leaves the textfield. This is very annoying if the user wants to change the text because you always move the mouse a bit.
I have a sample to reproduce that bug:
<body>
<ext:ResourceManager runat="server" />
<ext:Toolbar ID="mapToolbar" runat="server" Flat="false" width="200">
<Items>
<ext:ToolbarFill />
<ext:Button runat="server" Text="Test">
<Menu>
<ext:Menu ID="Menu1" runat="server">
<Items>
<ext:Formpanel ID="Formpanel1" runat="server">
<Items>
<ext:FieldContainer ID="FieldContainer1" runat="server" Layout="HBoxLayout">
<items>
<ext:TextField>
</ext:TextField>
</items>
</ext:FieldContainer>
<ext:FieldContainer ID="FieldContainer2" runat="server" Layout="HBoxLayout">
<items>
<ext:TextField>
</ext:TextField>
</items>
</ext:FieldContainer>
</Items>
</ext:Formpanel>
</Items>
</ext:Menu>
</Menu>
</ext:Button>
</Items>
</ext:Toolbar>
</body>
Is there any hint how to implement a formpanel inside a menu without losing the focus?Regards
Last edited by fabricio.murta; Sep 20, 2017 at 12:40 AM.