View Full Version : View seems to scroll to the bottom when screen tapped

16 Aug 2011, 12:12 PM
Having a strange issue when touch the screen the view will scroll to the very bottom (to a place where nothing is rendered) and Im not able to scroll back up to use the app.

Not sure how to better explain this and it's not happening on the examples, so there is something in my codebase allowing this to happen. Any ideas or questions for me?


16 Aug 2011, 12:59 PM
Can you show examples of your code?

16 Aug 2011, 1:13 PM
I'll try to work up a smaller example later. There is too much code right now to put on the forum. Im using the Ext.Applicaiton approach to launch the Application.

Here is a snippet of the launch process (Coffeescript)

class playmark.IpmRequestorApp extends Ext.Application
name: 'IpmRequestor',

useLoadMask: true

launch: ->
@viewport = new Ext.Panel
fullscreen: true
# autoInitViewport: false
layout: 'card'
cardAnimation: 'slide'

items: [
new IpmRequestor.views.Login,
new IpmRequestor.views.MainTabpanel
# hidden: true

# Check if we have a healthy session
url: "#{pm.ipm_cfg.IPM_PROXY_SERVICE_PATH}/sessions/healthy",

success: (response, opts) =>
responseJson = Ext.decode(response.responseText)

@handleSessionResponse responseJson

failure: (response, opts) =>
console.log('server-side failure with status code ' + response.status);

# Launch the App
new playmark.IpmRequestorApp