-
16 Nov 2012 11:30 AM #131
I added a branch on github that has all the code needed to show the issue between 2.0 and 2.1.
See: https://github.com/vrsource/sencha-SlideNavigation/tree/dev/bug_21
if you load the index_nocmd_20.html and index_cmd_21.html you will see how the code works in 2.0 and 2.1.
It appears to me that there is an issue with the new way that docking and layouts are being handled in 2.1 and that it is conflicting with some of the assumptions made for positioning the slidenavigation list and container.
-
16 Nov 2012 2:01 PM #132
-
16 Nov 2012 4:48 PM #133
I can confirm that the Slide Navigator works under ST 2.1.0.
@abierbaum: a number of things have changed in the css styles. If you did an upgrade from an older version of ST, your issues could be caused by that. I suggest you recompile your sass file (compass compile) and it will likely fix your issues. You may need to update the config.rb file to point to the new sdk directory (now called touch) before doing so.
-
16 Nov 2012 5:33 PM #134
@in4p Thanks for the pointer. You are right, I totally forgot to regenerate the css file. I don't know why I didn't think of that. Works with no problems now.
-
19 Nov 2012 1:02 AM #135
Just updated to 2.1 final to see whether NavigationViews would start working again or not.
Well, no, they don't. They push views without animating them.
Here's my streamlined code. SlideNavigation:
NavigationView:Code:Ext.define("MyApp.view.Workspace", { extend: 'Ext.ux.slidenavigation.View', xtype: 'workspace', config: { slideSelector: 'x-toolbar', selectSlideDuration: 200, list: { width: window.innerWidth*0.8, maxDrag: window.innerWidth*0.8, grouped: false, items: [{ xtype: 'toolbar', docked: 'top', title: 'Navigation' }] }, items: [ { xtype: 'mytasks', title: 'My tasks', slideButton: { selector: 'titlebar', text: 'Menu', iconCls: false, align: 'left' } } ] } });
Hope this can be fixed easily.Code:Ext.define('MyApp.view.MyTasks', { extend: 'Ext.NavigationView', xtype: 'mytasks', config: { title: 'My Tasks', navigationBar: { defaults: { align: 'right' }, items: [ { name: 'newtask', text: 'New' }, { name: 'edittask', text: 'Edit', hidden: true } ] }, items: { xtype: 'tasklist', title: 'My Tasks' } } });
-
3 Dec 2012 6:24 AM #136
hey wnielson ... great work

i have a problem , when i made a package then it gave me error
Cannot call method 'forEach' of undefined
so i need any suggestion...
thanksLast edited by zonaib; 3 Dec 2012 at 6:26 AM. Reason: w
-
3 Dec 2012 9:59 AM #137
Issue displaying pickers
Issue displaying pickers
Is anyone having issues using this component with Pickers?
When I use a DatePickerFields within the main content area the Picker is displaying within the left menu navigation pane and not the main content area. The example below shows what happens when I click on the DOB DatePickerField.
Capture.PNG
-
4 Dec 2012 4:31 PM #138
-
4 Dec 2012 4:33 PM #139
-
4 Dec 2012 5:16 PM #140
lower z-index in createContainer
lower z-index in createContainer
Not sure if this fix will work for everyone, but setting the z-index of the container in createContainer to 4 resolved the issue for me.
Code:style: 'width: 100%; height: 100%; position: absolute; opacity: 1; z-index: 4',


Reply With Quote