GithubHelp home page GithubHelp logo

Comments (4)

vasturiano avatar vasturiano commented on August 25, 2024

@patryk-wlaz thanks for logging your case.

As for your follow-up question, the CSS that's causing the opacity transition is here:

.sunburst-viz .main-arc:hover {
opacity: 0.85;
transition: opacity .05s;
}

You should be able to override those style on your application. Do you wish to cancel the opacity effect on hover, or just make the opacity transition immediate?

from sunburst-chart.

patryk-wlaz avatar patryk-wlaz commented on August 25, 2024

I wish to cancel opacity and make color change immediate. Thank you for pointing out styles, but I've already found them. I've managed to target them by scss mentioned before. This is what I see in developer tools:
image
On hover:
image

I'm starting to feel that I do some silly mistake here, like overwriting css styles in a wrong way :) But I think forcing opacity to be one and transition to be none should work...

from sunburst-chart.

vasturiano avatar vasturiano commented on August 25, 2024

Just setting opacity: 1 on your (s)css should cancel the opacity hover effect. Are you not observing that?

from sunburst-chart.

patryk-wlaz avatar patryk-wlaz commented on August 25, 2024

Yeah I thought so, but I addd transition just to be sure. As you see, it doesn't work - I don't know what am I doing wrong here see video of my screen captured

from sunburst-chart.

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.