Skip to content

Touchable not working with map #15

@sahinboga

Description

@sahinboga

Can you help me please!!!!!!!

<Touchable.Canvas style={{ width: width, height: height }}>
<SkiaImage
x={0}
y={0}
image={imageData}
height={height * 0.8}
width={width}
fit='cover'
>
{apiResponse?.draw_set.map((item, index) => (

<Touchable.Rect
key={index}
x={item.x}
y={item.y}
width={item.width * 0.8}
height={item.height}
color={item.color}
style="stroke"
strokeWidth={2}
{...rectGesture}
/>

))}

</Touchable.Canvas>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions