Hybrid View
-
4 Dec 2012 4:38 AM #1
[2.1] Sheets / ActionSheets / Picker flying of the screen
[2.1] Sheets / ActionSheets / Picker flying of the screen
Since some 2.1 preview version, can't remember exactly which, sheets that are supposed to slide in from the bottom fly off the screen on Chrome, iOS and Android.
This has something to do with the show animation, turning it off fixes it.
I wasn't able to reproduce this in the kitchensink nor isolate it yet. In the isolated test I did the other day it worked.
Still thought I file a bug, maybe somebody else can provide more info.
Owner of 360releases Ltd. - Sencha Touch & Ext JS consulting
twitter.com/steffenhiller
extjswithrails.com, senchatouchbits.com
-
4 Dec 2012 7:24 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
Just tried this on a couple different devices and could not reproduce. Would need to repro it to find the bug:
Code:var actionSheet = Ext.create('Ext.ActionSheet', { items : [ { text : 'Delete draft', ui : 'decline' }, { text : 'Save draft' }, { text : 'Cancel', ui : 'confirm' } ] }); Ext.Viewport.add(actionSheet); actionSheet.show();Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
13 Apr 2013 9:11 AM #3
This is happening with all of my ActionSheets, Pickers, selectfields. Was working in 2.0.1.1, broken in 2.1.1. Sometimes they fly off the top of the screen and then come back, sometimes they disappear entirely and just leave a blank screen which breaks the app entirely. A quick search of the forums shows that this has been buggy for a year.
Couple of easy ways to reproduce. Take the bottom-docked tab panel example, add a card layout to one of the tabs, add a FormPanel to one of the cards, add a selectfield to the form. Works ok the very first time you click on the selectfield, but then cancel it and try to select it again and it breaks from that point on.
On another card, add a button or link or something that opens a Picker. Same behavior.
Also on the same bottom tab panel, add a Container to the Viewport with a toolbar docked to the top, with a button in the toolbar that creates an ActionSheet. Show it and hide it a few times. Same behavior.
If I add a hide listener that destroys the ActionSheet after a brief timeout, that works, but I need my form elements and Pickers to exist.
Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.


Reply With Quote