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

3.6.2 can not call self.update() inside .on("mount") anymore #2424

Closed
cybervaldez opened this issue Aug 20, 2017 · 3 comments
Closed

3.6.2 can not call self.update() inside .on("mount") anymore #2424

cybervaldez opened this issue Aug 20, 2017 · 3 comments
Labels

Comments

@cybervaldez
Copy link

@cybervaldez cybervaldez commented Aug 20, 2017

Help us to manage our issues by answering the following:

  1. Describe your issue:
    Prior versions allow call self.update() inside .on("mount") event,

  2. Can you reproduce the issue?
    var self = this;
    this.on("mount", function(){
    self.update()
    });

this.on("updated", function(){
alert("i should fire.");
});

Post the link using one of our bug report templates:

  1. On which browser/OS does the issue appear?

  2. Which version of Riot does it affect?
    3.6.2

  3. How would you tag this issue?

  • Question
  • Bug
  • Discussion
  • Feature request
  • Tip
  • Enhancement
  • Performance
@magiksd
Copy link

@magiksd magiksd commented Aug 21, 2017

I can confirm this bug, my UI is broken since riot 3.6.2 :(

@cybervaldez
Copy link
Author

@cybervaldez cybervaldez commented Aug 22, 2017

It looks like an issue that happens with mounted children tags, here's a reproduction (uncomment top scripts to see both riot js versions)

https://plnkr.co/edit/1mb1RZkjofTpgxwQ8Eni?p=preview

@GianlucaGuarini GianlucaGuarini added bug and removed invalid to verify labels Aug 22, 2017
GianlucaGuarini added a commit that referenced this issue Aug 22, 2017
@GianlucaGuarini
Copy link
Member

@GianlucaGuarini GianlucaGuarini commented Aug 23, 2017

fixed in riot@3.6.3 thanks for reporting it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.