FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix: Multiple ScrollViews on one page fires scrollEvent simultaneously by hamorphis · Pull Request #2412 · NativeScript/NativeScript · GitHub

Fix: Multiple ScrollViews on one page fires scrollEvent simultaneously - #2412

Merged
hamorphis merged 1 commit into
masterfrom
issue-2362
Jul 4, 2016
Merged

hamorphis merged 1 commit into
masterfrom
issue-2362

Conversation

Copy link
Copy Markdown
Contributor

Resolves #2362

ns-bot added the cla: yes label Jul 4, 2016

Copy link
Copy Markdown
Contributor Author

run ci

hamorphis merged commit 240ae69 into master Jul 4, 2016
hamorphis deleted the issue-2362 branch July 4, 2016 12:17

srjt commented Dec 25, 2016 •
edited
Loading

Copy link
Copy Markdown

I am trying to work with scroll event but it never gets fired, after debugging I found that this.android.getScrollX() and this.android.getScrollY() in ScrollView.prototype._onScrollChanged always returns 0. Below is the markup I am using. I am not sure if there is problem in the fix or i am doing something wrong here.

	<ScrollView row="0" #dashboardScrollView orientation="vertical" ios.pagingEnabled="true"  class="dashboard" >
  		  <ListView [items]="data"  >
		    <template let-item="item">
			     <StackLayout >
					<dashboard-item [data]="item" ></dashboard-item>
			  	</StackLayout>	
		    </template>
		  </ListView>
	</ScrollView>

Copy link
Copy Markdown
Contributor Author

@srjt I will reopen the issue and investigate what is going on.

lock Bot commented Aug 27, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock Bot locked and limited conversation to collaborators Aug 27, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple ScrollViews on one page fires scrollEvent simultaneously

3 participants


Back | FazBrowse Home | New Git URL