Skip to content
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

Introduce "BoxShadowDrawable" for Android box shadows #43722

Closed
wants to merge 4 commits into from

Commits on Apr 13, 2024

  1. Decouple CSS background drawing from view, New Commit

    Differential Revision: D55565035
    NickGerleman authored and facebook-github-bot committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    bbf21a4 View commit details
    Browse the repository at this point in the history
  2. react-native] Allow sigma blur without filter prop

    Differential Revision: D55563775
    NickGerleman authored and facebook-github-bot committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    7ec429a View commit details
    Browse the repository at this point in the history
  3. Cleanup border radius resolution

    Differential Revision: D55635743
    NickGerleman authored and facebook-github-bot committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    a571e87 View commit details
    Browse the repository at this point in the history
  4. Introduce "BoxShadowDrawable" for Android box shadows (facebook#43722)

    Summary:
    Pull Request resolved: facebook#43722
    
    This change adds a drawable, when when drawn on the bounds of a border-box sized view, will draw a spec compliant box-shadow outside the box. This is reliant on Android `RenderNode` and `RenderEffect` APIs provided by API 31.
    
    Inset box shadows can also be added using a similar method, but this is not done yet.
    
    The code which manages this is in flux, but the underlying drawable should be good. Will add some tests once it's more wired up.
    
    Changelog: [Internal]
    
    Reviewed By: javache, cortinico
    
    Differential Revision: D55561465
    NickGerleman authored and facebook-github-bot committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    90f1fba View commit details
    Browse the repository at this point in the history