-
Notifications
You must be signed in to change notification settings - Fork 17
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
Problems with Ember 2.10 #25
Comments
Hey @tmeloliveira - I am currently out of touch with the |
@pksjce thanks for the reply! Just one more question... It seems there could be a workaround, but I would need to access drake. I wanted to run this |
@tmeloliveira check https://github.com/kalcifer/ember-dragula#advanced-usage. |
@oskarrough thanks for the help! But I wanted to access In my component, lets say I have something similar to this: {{#ember-dragula config=dragulaconfig drop='updateItem' as |drake|}}
<div>
{{#ember-dragula-container drake=drake}}
<div>drag me</div>
<div>or me</div>
{{/ember-dragula-container}}
</div>
{{/ember-dragula}} But I want to call |
Ah right, I haven't tried it but perhaps the https://github.com/kalcifer/ember-dragula/blob/master/addon/components/ember-dragula.js#L37 |
Well, that solved my issue @oskarrough! Thank you so much for the help! I have been fighting this bug for quite some time! But... I think there is a problem with the versioning of ember-dragula. This line of code you mentioned in your comment was not present in my version of the addon in "ember-dragula": "1.9.3", I only saw that because I had forked the project, and was using my version of it... "ember-dragula": "https://github.com/kalcifer/ember-dragula.git", Would this be related to the git tag? |
If anyone is interested, there is more discussion on the original bug here: My solution was to "cancel" the drop event... and then I would update the model and let ember do the re-rendering! |
Seems the change to include |
@oskarrough - Would be happy to give you access to the repo for new releases. Sorry for the delay! |
I've just updated my project to the latest version of Ember.js (2.10.0) which comes with Glimmer 2 enabled by default and I'm getting multiple errors when I try to drag and drop my elements. They come in three types:
With the previous version of Ember I was using, 2.8.0 it was working just fine.
Any thoughts on that?
The text was updated successfully, but these errors were encountered: