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

If the contentSize is not known after the ember-native-collection is #141

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pieter-v
Copy link
Contributor

inserted into the DOM, then retrieve it from the layout
fixes issue #140

@pieter-v
Copy link
Contributor Author

This also closes issue #137

@svvitale
Copy link

+1

1 similar comment
@Luiz-N
Copy link

Luiz-N commented May 10, 2017

+1

@stefanpenner
Copy link
Contributor

stefanpenner commented May 10, 2017

Nice addition, but will need tests before we can consider merging it. Mind doing so?

README.md Outdated
* Returns the position of the item
*/
positionAt(itemIndex, clientWidth, clientHeight) {
return { x, y};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: funky whitespace consistency

}
if (this._scrollIndex !== scrollIndexAttr && (this._clientWidth || this._clientHeight)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this area is quite complicated, it may be worth extracting to a function so it is easier to unit test.

@pieter-v
Copy link
Contributor Author

pieter-v commented May 10, 2017 via email

@Luiz-N
Copy link

Luiz-N commented Jun 18, 2017

@stefanpenner do the changes @pieter-v made suffice or...?

@Luiz-N
Copy link

Luiz-N commented Nov 27, 2017

@pieter-v i'm going to roll my sleeves up and try to get this to be mergeable. My plan was to fork your branch, pull the latest changes from master and handle all conflicts then. Should I make a pr to this branch in your own forked repo so you can review/accept?

@pieter-v
Copy link
Contributor Author

pieter-v commented Nov 27, 2017 via email

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.

None yet

4 participants