Giter VIP home page Giter VIP logo

Comments (30)

Foxandxss avatar Foxandxss commented on May 18, 2024

It is not working? Give me some information.

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

I don't get any errors on the console, it just doesn't show the popup messages. I am using latest version of angular and angular-animate (~1.3.0)

from angular-toastr.

Foxandxss avatar Foxandxss commented on May 18, 2024

It is not happening to me. The only difference is that in 1.3, toasts goes in a different direction. Something I have to resolve.

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

http://plnkr.co/edit/nYsTDWTklBiwnLb8ciks?p=preview

from angular-toastr.

Foxandxss avatar Foxandxss commented on May 18, 2024

You were mixing there angular version beta.16 and the latest master animate, so it fails.

http://plnkr.co/edit/xujVY0Y0Qak5GJfn4aYc?p=preview

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

ok I updated the version of both files to v1.3.0-build.3121+sha.a4520a7
http://plnkr.co/edit/nYsTDWTklBiwnLb8ciks?p=preview
It seems most likely to be a problem from angular and not your library.

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

I downgraded the version to 1.3.0-beta.16 and seems to be working. Thanks!

from angular-toastr.

9mm avatar 9mm commented on May 18, 2024

Seems to break again with 1.3.0-rc.0, they just don't show up at all (I'm using the same version between angular/animate/etc)

  ...
  "dependencies": {
    "normalize-css"    : ">=3.0.1",
    "angular"          : ">=1.3.0-rc.0",
    "angular-animate"  : ">=1.3.0-rc.0",
    "angular-route"    : ">=1.3.0-rc.0",
    "angular-resource" : ">=1.3.0-rc.0",
    "angular-toastr"   : ">=0.4.0",
    "lodash"           : ">=2.4.1",
    "ng-file-upload"   : ">=1.6.5",
    "ngQuickDate"      : ">=1.3.0",
    "selectize"        : ">=0.11.0",
    "ng-table"         : ">=0.3.3",
    "angular-ladda"    : ">=0.1.6"
  },
  ...

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

can you do a bower list to check your angular and angular-animate versions?

from angular-toastr.

9mm avatar 9mm commented on May 18, 2024
├── angular#1.3.0-rc.0
├─┬ angular-animate#1.3.0-rc.0
│ └── angular#1.3.0-rc.0
├─┬ angular-ladda#0.1.6
│ ├── angular#1.3.0-rc.0 incompatible with ~1.2.16 (1.2.24-build.428+sha.239d0b1 available, latest is 1.3.0-rc.0)
│ └─┬ ladda#0.9.4
│   └── spin.js#2.0.1
├─┬ angular-mocks#1.3.0-rc.0
│ └── angular#1.3.0-rc.0
├─┬ angular-resource#1.3.0-rc.0
│ └── angular#1.3.0-rc.0
├─┬ angular-route#1.3.0-rc.0
│ └── angular#1.3.0-rc.0
├─┬ angular-scenario#1.3.0-rc.0
│ └── angular#1.3.0-rc.0
├─┬ angular-toastr#0.4.0
│ └── angular#1.3.0-rc.0
├── lodash#2.4.1
├── ng-file-upload#1.6.5
├─┬ ng-table#0.3.3
│ └── angular#1.3.0-rc.0
├─┬ ngQuickDate#1.3.0
│ └── angular#1.3.0-rc.0 incompatible with ~1.2.0 (1.2.24-build.428+sha.239d0b1 available, latest is 1.3.0-rc.0)
├── normalize-css#3.0.1
└─┬ selectize#0.11.0
  ├── jquery#2.1.1
  ├── microplugin#0.0.3
  └── sifter#0.3.4

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

You have to keep in mind that 1.3.x versions are unstable.
Try upgrading to version 1.3.0-beta.16

from angular-toastr.

9mm avatar 9mm commented on May 18, 2024

Stupid question, but isn't that downgrading?

I do believe it works then (haven't tried it yet, but notifications used to work before I upgraded to rc1)

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

You are correct, I meant downgrading

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

Angular team is having a hard time with ngAnimate in versions 1.3.x, many issues are being reported. 1.3.0-rc.0 is an unstable version tho, I would recommend you to downgrade it in the meantime.

from angular-toastr.

9mm avatar 9mm commented on May 18, 2024

Oh I gotcha, good thinking. Thanks!

from angular-toastr.

Foxandxss avatar Foxandxss commented on May 18, 2024

There is a breaking change on the RC-0. Basically a callback vs promise.

I need to think if I am going to release a version 0.5 to support only 1.3 and leave 0.4 for 1.2 or somehow try to support both.

WDYT?

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

sounds good, support version 1.2 just for a while and drop it once version 1.3 reaches stabilization

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

lmk if I can contribute somehow

from angular-toastr.

thoughtpalette avatar thoughtpalette commented on May 18, 2024

+1 for 1.3 support. Sweet module btw.

from angular-toastr.

Foxandxss avatar Foxandxss commented on May 18, 2024

When the 1.3 comes out I will release a new version which will break 1.2 compatibility.

For now, there are two $animate.enter on the code which uses a callback. Changing that to use a promise's then will solve the 1.3 problem.

from angular-toastr.

thoughtpalette avatar thoughtpalette commented on May 18, 2024

Would it make sense to branch off and implement that fix? Or just wait? I ended up just including toastr globally instead of in an angular.module. Seem's most angular-toaster libraries are broke in v.1.3.x

from angular-toastr.

Foxandxss avatar Foxandxss commented on May 18, 2024

1.3-rc.0 made a big BC on animations. Let me do the branch, that is easy to do.

from angular-toastr.

Foxandxss avatar Foxandxss commented on May 18, 2024

Alrighty, there is a 1.3 branch with the fix. It won't work with older versions of angular tho.

from angular-toastr.

thoughtpalette avatar thoughtpalette commented on May 18, 2024

👍 Thanks!

from angular-toastr.

Foxandxss avatar Foxandxss commented on May 18, 2024

New version, new release.

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

so, is it the new version in the master branch?

from angular-toastr.

Foxandxss avatar Foxandxss commented on May 18, 2024

Yeah, version 0.5.1 is the good one.

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

bower.json has version 0.3.0 on it, I think the code is the latest, just need to update the version :)

from angular-toastr.

Foxandxss avatar Foxandxss commented on May 18, 2024

Oh, true, damn bower, will fix that asap.

from angular-toastr.

joeltello avatar joeltello commented on May 18, 2024

ImI

from angular-toastr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.