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

Comments

Projects
None yet
3 participants
@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

This comment has been minimized.

Show comment
Hide comment
@magiksd

magiksd Aug 21, 2017

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

magiksd commented Aug 21, 2017

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

@cybervaldez

This comment has been minimized.

Show comment
Hide comment
@cybervaldez

cybervaldez 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

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

This comment has been minimized.

Show comment
Hide comment
@GianlucaGuarini

GianlucaGuarini Aug 23, 2017

Member

fixed in riot@3.6.3 thanks for reporting it

Member

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