Giter VIP home page Giter VIP logo

Comments (9)

guoqikai avatar guoqikai commented on June 20, 2024 1

@TheEhsanSarshar Hmm interesting i'll investigate further and get back to you. I'm pretty sure all these issues happen after I upgrade tamagui version tho

from tamagui.

TheEhsanSarshar avatar TheEhsanSarshar commented on June 20, 2024

I'm not able to re-produce

from tamagui.

TheEhsanSarshar avatar TheEhsanSarshar commented on June 20, 2024

oh it's on native

from tamagui.

TheEhsanSarshar avatar TheEhsanSarshar commented on June 20, 2024

the issue is actually with http it should be https to work.
there should some configs with expo to disable this

from tamagui.

guoqikai avatar guoqikai commented on June 20, 2024

@TheEhsanSarshar Seems like it's an issue with the Image component in this library. There's also an issue when I try to load an image with file protocol:
<Image flex={1} source={{ uri: fileUrl }} />
This will show nothing. While changing the Image component to the native one fix the problem

from tamagui.

TheEhsanSarshar avatar TheEhsanSarshar commented on June 20, 2024

emmm, just tested and it seems working fine

from tamagui.

StefanEissler avatar StefanEissler commented on June 20, 2024

I face the same issue in the monorepo. I did not check native, but in nextjs it is showing up in the html file but not rendering the picture.

I read a picture with https://... With the normal <Image /> Tag it works fine.

<Avatar circular size="$5">
                        <Avatar.Image
                            src={profile?.avatar_url}
                        />
                        <Avatar.Fallback backgroundColor="$blue10" delayMs={600} />
</Avatar>

It worked for me all the time until I updated my tamagui version.

from tamagui.

guoqikai avatar guoqikai commented on June 20, 2024

@TheEhsanSarshar I tried the example with https and it still doesn't work. Using the source prop with width and height set works(e.g. <Image source={{width: 50, heigh:50, uri}}/>). But both width and height must be set to a non-zero value and it's bit awkward as we don't know the image demission in most of the time. The issue can be reproduced on both Android and ios so I doubt it's related to http/https.

from tamagui.

StefanEissler avatar StefanEissler commented on June 20, 2024

Are there any news on this?
I meet this issue in web nextjs version.
I have tried to reinstall tamagui. I added the package for Avatars to my packages.

When I remove the class of the Tag it works...

from tamagui.

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.