Code Monkey home page Code Monkey logo

Comments (7)

morelazers avatar morelazers commented on August 17, 2024 3

@Kureev Yeah - I think OP's issue was probably elsewhere.

from react-native-blur.

grabbou avatar grabbou commented on August 17, 2024

That's very interesting since that view is just a direct mapping to native version, so there should not be any performance issues as far as I am concerned.

@brentvatne, sorry for disturbing, but would you mind enlightening us on that? Can that be the case inside ScrollView?

from react-native-blur.

brentvatne avatar brentvatne commented on August 17, 2024

shouldRasterizeIOS is definitely what you should be using here, if you post some code I can try to suggest where you should be using it

from react-native-blur.

StuartMorris0 avatar StuartMorris0 commented on August 17, 2024

Did anyone find an answer for this? I think @grabbou is right that it just uses the native blur view from iOS.

The problem is that the blur is completed on the main thread and therefore the scrolling of a table view (list view) causes some drops in frames.

from react-native-blur.

Kureev avatar Kureev commented on August 17, 2024

Is it still an actual issue we should solve?

from react-native-blur.

morelazers avatar morelazers commented on August 17, 2024

@Kureev I'm getting big framedrops on Android with devmode off while using BlurView inside react-native-gifted-chat. Scrolling is good until the image loads and the blur takes effect.

If I scale down the images, the performance is great, but with large images it is very slow.

I can't test a release build because of another issue at the moment.

EDIT: Sorry, please disregard this comment, my problem was related to image caching. For anyone wondering, I ended up using react-native-cachable-image to resolve the performance issues.

from react-native-blur.

Kureev avatar Kureev commented on August 17, 2024

So if I understand correctly, it's not about our library, right? Can I close it then?

from react-native-blur.

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.