Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test and fix for #703: ScrollerView does not render correctly on first time #704

Merged

Conversation

aflatter
Copy link
Contributor

No description necessary. :)

@workmanw
Copy link

Fixes #703 (Putting this in a comment creates a mention link between the issue and the pull request).

I'm not a reviewer, but this looks good to me. Thanks!

@aflatter
Copy link
Contributor Author

The test does not verify the offsets because I was not able to access them. Both jQuery.offset() and DOMElement.offset(Left|Top) always returned 0. Did not have the time to dig into this.

@unicolet
Copy link
Contributor

I have tried the proposed fix against the 'test controls' app and it solves the issues that were visible in the scroll section.

@workmanw
Copy link

workmanw commented Mar 6, 2012

@publickeating This pull request seems very straight forward. Do you think we can sneak it into SC 1.8 ?

publickeating added a commit that referenced this pull request Mar 6, 2012
Test and fix for #703: ScrollerView does not render correctly on first time
@publickeating publickeating merged commit 2e26048 into sproutcore:master Mar 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants