Giter Club home page Giter Club logo

Comments (6)

Saadnajmi avatar Saadnajmi commented on June 20, 2024 1

macOS Sonoma added a change by adding NSView.clipsToBounds as a property, and a breaking change of changing drawRect to give you dirtyRects that can very much draw outside the bounds of your views. RN-SVG uses drawRect in its implementation, and we saw similar issues in our apps with Sonoma. Fix would be in react-native-svg, somewhere around here https://github.com/software-mansion/react-native-svg/blob/0e931577ac9d9241be813bd9a7f03f71b7629ff0/apple/Elements/RNSVGSvgView.mm#L287C1-L288C1

from orbit.

Saadnajmi avatar Saadnajmi commented on June 20, 2024 1

I found another explainer: https://indiestack.com/2023/06/view-clipping-sonoma/
I'm not sure what's happening with the settings page, but I know React Native macOS overrides drawRect to I'm pretty sure, so there might be an issue there too.

from orbit.

PatrikTheDev avatar PatrikTheDev commented on June 20, 2024

How about the last screenshot? The settings page rendered incorrectly upon the first launch, though subsequent launches looked fine

from orbit.

gabrieldonadel avatar gabrieldonadel commented on June 20, 2024

How about the last screenshot? The settings page rendered incorrectly upon the first launch, though subsequent launches looked fine

I'll take a look at that

from orbit.

idrakimuhamad avatar idrakimuhamad commented on June 20, 2024

Had this too in Sonoma. But goes away after sleep.

image

from orbit.

gabrieldonadel avatar gabrieldonadel commented on June 20, 2024

A new version of Expo Orbit has just been released! v0.1.3 includes fixes for this and other issues, you can check the full details on the releases page. Please test it out and let us know if you find any other problems.

from orbit.

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.