GithubHelp home page GithubHelp logo

Comments (3)

agniputran avatar agniputran commented on May 27, 2024 1

will-change: opacity is known to have performance issues.
https://developer.mozilla.org/en-US/docs/Web/CSS/will-change

Hence shouldn't be added to too many DOM element, if you can add a note on the skin docs, that'd be great. Basically a word of caution kind of thing

from skin.

agniputran avatar agniputran commented on May 27, 2024 1

In viewitem, we found users complaining about mix-blend-mode not working well in dark mode. so i feel like you can simply add the pointer-events: none to the ::after pseudo for image-treatment instead of switching to mix-blend-mode. Anyways you would have run into performance issues with over-using will-change: opacity

from skin.

ArtBlue avatar ArtBlue commented on May 27, 2024

@ianmcburnie , @agniputran , is mix-blend-mode referring to this:

&::after { 
    background: rgba(0, 0, 0, 0.05);
}

So, we're getting rid of this in lieu of pointer-events: none; ? These are not related so I'm trying to figure out why they are mentioned in relation to each other.

from skin.

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.