Hi,
i have a sidemenu with a datepicker inside.
When a choose a date in the datepicker, the sidemenu hides and i do not want to hide it.
I tried to use this properties in datepicker:
relatedAction: “show”, relatedView: “sideMenu”
where sidemenu is the id of the view that contains the sidemenu.
Anu help please?
Thanks and regards!
More info:
same happens with a richselect, when an item is selected, sidemenu hides.
Thanks and regards!
Maria
October 7, 2015, 8:20am
3
Hi,
You can disable autoCollapse:
autoCollapse: false
So, the you can set own action to hide menu.
Thanks. It works but now i need to collapse sidemenu when touching outside that sidemenu jeje.
Could you tell me how?
Thanks
Maria
October 7, 2015, 6:01pm
5
You can use autoCollapse: false to disable built-in menu close. But you can set own handler that will call collapse() method for menu. An example of how to hide a view on click outside it:
http://webix.com/snippet/971abd30
And you can use additional check for datepicker.
Hello again!
With this 3.1 webix version i have the same problem than before (explained in this post).
Some text views that when i click inside each of them my sidemenu hides.
I want to hold it and now there is not an autocollapse property.
What can i do?
Thanks and regards!
i tried this and works here (snippet)
http://webix.com/snippet/c5ddcd4f
but in my mobile is not working. maybe because of the keyboard?
Thanks and regards!
The unique diference is the keyboard that goes up from the bottom of my screen, in my mobile.
can be that?
Thanks and regards!
Maria
November 26, 2015, 8:02am
10
i tried this and works here (snippet) Code Snippet
but in my mobile is not working
This snippet works on mobile. Could share a snippet that shows the issue ?
I am sorry…
Is this:
http://webix.com/snippet/d14cf111
I checked out in my mobile and the sidemenu hides when i click inside the text view.
thanks and regards!
Maria
November 26, 2015, 10:17am
12
Thank you for the snippet you made. We will include the solution into the next update ( I’ve sent you a PM )