{ "id": "161322", "key": "AC-3919", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-07-20T19:01:31.000+0000", "created": "2016-06-24T06:42:42.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-07-20T19:01:31.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Device : Lumia 540\r\nIssue : The front screen on my Windows phone is horizontally bouncing which I want to disable.\r\nI have tried : \r\n\r\n{code:java}\r\n\r\n{code}\r\n\r\nBut as it is not supported for Windows phone, it did not work as expected.\r\n\r\nAlso I tried event listeners : \r\nthis works on alloy window element : \r\n\r\n\r\n{code:java}\r\n$.window.addEventListener('tocuhstart', function(e) {\r\n\tTi.API.log('tocuhstart Window: '+ e.x);\r\n}); \r\n{code}\r\n\r\n\r\nBut \"*touchmove*\" and \"*touchend*\" & \"*swipe*\" DO NOT work/detect on either of the \"*Window*\" element, \"*ScrollView*\" element or wrapper \"*View*\" element\r\n\r\nPlease help on how to disable horizontal bounce in windows phone.\r\nMy xml structure is like : \r\n\r\n{code:java}\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n .\r\n .\r\n .\r\n \r\n .... \r\n \r\n \r\n .... \r\n \r\n \r\n .... \r\n \r\n .\r\n .\r\n .\r\n{code}\r\n\r\n\r\n*EDIT 1* :\r\n\r\nI tried adding touch move event on individual \"innerView\" elements... with code :\r\n\r\n\r\n{code:java}\r\nvar lastX;\r\nfunction touchStart(e) {\r\n\tlastX = e.x;\t\r\n}\r\nfunction touchMove(e) {\r\n\tvar currentX = e.X;\r\n if (currentX !== lastX){ \t\r\n \treturn;\r\n }\r\n}\r\n{code}\r\n\r\nThis code is inhibiting both vertical and horizontal movement", "attachment": [], "flagged": false, "summary": "Disable Horizontal bounce in Windows Phone", "creator": { "name": "sanchi1706@gmail.com", "key": "sanchi1706@gmail.com", "displayName": "Sanchi Varma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sanchi1706@gmail.com", "key": "sanchi1706@gmail.com", "displayName": "Sanchi Varma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "---------------------------------------------\r\nDEVELOPMENT ENVIRONMENT\r\n---------------------------------------------\r\n\r\nOperating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.10586\r\n Architecture = 32bit\r\n # CPUs = 4\r\n Memory = 7.9GB\r\n\r\nNode.js\r\n Node.js Version = 0.12.7\r\n npm Version = 2.11.3\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.8\r\n node-appc Version = 0.2.31\r\n\r\nTitanium SDKs\r\n 5.4.0.v20160509133737\r\n Version = 5.4.0\r\n Install Location = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.4.0.v20160509133737\r\n Platforms = android, mobileweb, windows\r\n git Hash = 50dec34\r\n git Timestamp = 05/09/16 13:37\r\n node-appc Version = 0.2.35\r\n\r\nIntelĀ® Hardware Accelerated Execution Manager (HAXM)\r\n Not installed\r\n\r\nJava Development Kit\r\n Version = 1.7.0_80\r\n\r\n\r\nMicrosoft (R) Visual Studio\r\n 12.0\r\n Path = C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\\r\n CLR Version = v4.0.30319\r\n MSBuild Version = v12.0.40629.0\r\n Windows Phone SDKs = not installed\r\n 14.0 (selected)\r\n Path = C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\\r\n CLR Version = v4.0.30319\r\n MSBuild Version = v14.0.25123.0\r\n Windows Phone SDKs = not installed\r\n\r\nMicrosoft (R) Windows Phone SDK\r\n 10.0\r\n Path = C:\\Program Files (x86)\\Windows Kits\\10\\\r\n 8.1 (selected)\r\n Path = C:\\Program Files (x86)\\Microsoft SDKs\\Windows Phone\\v8.1\\\r\n\r\nWindows PowerShell\r\n Enabled = yes\r\n\r\n---------------------------------------------\r\nDEVICE USED\r\n---------------------------------------------\r\n\r\nWindows Phone Devices\r\n Lumia 540 Dual SIM (RM-1141)\r\n UDID 004a0090-9056-7d8b-0000-000000000000\r\n", "comment": { "comments": [ { "id": "390630", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, horizontalBounce is not available for WIndows platform. http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ScrollView-property-horizontalBounce", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-07-13T20:51:14.000+0000", "updated": "2016-07-13T20:51:14.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }