Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24088] Windows Phone : The scroll event for ScrollView does not have x/y cordinates

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-12-09T22:27:33.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterNeha
AssigneeKota Iguchi
Created2016-08-24T10:39:49.000+0000
Updated2018-08-06T17:57:47.000+0000

Description

Hi, I want to trigger an event when 50% of the scroll view has been scrolled. I am able to achieve this by adding event listener for scroll event for scrollview and fetching the "y" cordinate from the event object. But th value is null in case of windows phone. Sample Code : index.js $.scrollView.addEventListener('scroll', function(e) { Ti.API.info(e.y); }); $.indexWindow.open(); index.xml index.tss ".listView" :{ top : "0%", align:"center", backgroundColor : "white" , width : '100%', height : "110.5dp" } ".label":{ color: "black", left : "16.25dp", width : "80%", font: { fontFamily:'Roboto-Light', fontSize: '27.5dp' }, textAlign:Ti.UI.TEXT_ALIGNMENT_LEFT, verticalAlign : Ti.UI.TEXT_VERTICAL_ALIGNMENT_CENTER }

Comments

  1. Kota Iguchi 2016-12-08

    https://github.com/appcelerator/titanium_mobile_windows/pull/900
  2. Eric Merriman 2018-08-06

    Cleaning up older fixed tickets from 2016 and earlier. If this ticket should not have been closed, please reopen it.

JSON Source