-
-
Notifications
You must be signed in to change notification settings - Fork 116
Fixed missing 'set' call for updating the variable scrollTop #216
Conversation
It looks like in the mixin, scrollTop is set with Curious, what prompted you to make this change? |
For me the ListView component throws an error when I am not using this.set here: |
actually, @ruperteder i suspect your code is accidentally observing scrollTop? |
Ok, I see. I am using ember list view for building an autocomplete component with endless scrolling functionality. Therefor I had to to observe the scrollTop property. I was not aware of that the scrollTop property should not be used as observable property. |
yes, it is currently not public API because of this. Although something like this should likely be public, but likely an action. @ruperteder can you share an example of your usage ? |
Actually the scrollTop property was used in the past by my organization to fix a problem: Today and yesterday I retested this and found out that the problem does no more occure. |
:). I do suspect some addition api, likely an action should exists to fill this void. But observing scrollTop is nearly always some work around for something else. Do you mind if I close this PR? |
Maybe an |
list-view works hard to minimize work, it doesn't even enter a run-loop until something actually needs to change. So exposing Ultimately my concern is only the slower android devices, hopefully they age out. |
@ruperteder is it ok for us to close out this ticket? |
I'm sorry we didn't get back to this previously, but at this point this repo is essentially unmaintained. Please use @html-next/vertical-collection or ember-collection for similar functionality. Closing... |
No description provided.