Code Monkey home page Code Monkey logo

Comments (10)

scttcper avatar scttcper commented on May 27, 2024

What version of rxjs do you have?

from ngx-color.

lscarneiro avatar lscarneiro commented on May 27, 2024

Good question, I didn't installed rxjs directly to this project, because it's a tiny hobby one that I'm testing, but yeah, I didn't tried to npm install rxjs directly, but it is inside my node_modules, so I thought that your package required it directly...

The on inside my node_modules is [email protected]

from ngx-color.

scttcper avatar scttcper commented on May 27, 2024

you'll need rxjs > 6. Most angular library's list it as a peer dependency and it should show a warning on npm install.

from ngx-color.

lscarneiro avatar lscarneiro commented on May 27, 2024

Looked here, yes, ionic does demand rxjs by itself, but an earlier version, that is why my rxjs is at v5.5.8...

Looks like I have to wait for a new ionic release with rxjs v6 support, amirite?

Do some earlier version of your ngx-color support rxjs<6?

Thank your for your support

from ngx-color.

lscarneiro avatar lscarneiro commented on May 27, 2024

Just checked here, looks like v1.2.1 supports [email protected], gonna try it out!

from ngx-color.

lscarneiro avatar lscarneiro commented on May 27, 2024

So, I got it to work on 1.2.1 with "no errors", but can't drag the sliders if I'm mobile mode on chrome, I can only click inside the slider bar and then the slider jumps to the clicked position... Any ideas? =/

from ngx-color.

scttcper avatar scttcper commented on May 27, 2024

I've just released v2 which should solve mobile issues. However you would need rxjs 6.

I think you could try npm i [email protected] --save along with ngx-color v2

from ngx-color.

lscarneiro avatar lscarneiro commented on May 27, 2024

Hey man, thanks again for your support, I tried ngx-color v2 with this specific version of rxjs and it worked, thanks!

Now, I struggled trying to make the draggable items work on my iPhone, it seems to work only on my desktop browser... As I said, I'm using ionic, at this point I don't know who to blame, hahaha.

Do you have any hint?

Thanks again for your time!

from ngx-color.

scttcper avatar scttcper commented on May 27, 2024

Does the demo work on your iphone? https://scttcper.github.io/ngx-color/

If it does it might be something with ionic

from ngx-color.

lscarneiro avatar lscarneiro commented on May 27, 2024

How dumb was I... Should've tested the demo on my phone first hahaha!

Yeah, it works really fine with the demo, gonna find a reason why ionic is maybe blocking some dragging related events.

Thanks man, have a nice one!

from ngx-color.

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.