mrousavy / mrousavy/react-native-nitro-image

Animated Nitro Image delays unmounting of Touchable Opacity

Open
#64 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
652
Forks
37
Avg merge
56m
Merged PRs (30d)
6

Description

Using an animated Nitro image delays the unmounting of the wrapper Touchable Opacity component. I feel like it delays the View component as well, but because it has less overhead, it is not noticeable to that extent. I might be wrong, though

Repro: https://github.com/ISnowFoxI/nitro-image-bug

https://github.com/user-attachments/assets/c2b6a57f-b7f8-4224-891d-c6086cc1bf38

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the linked reproduction at https://github.com/ISnowFoxI/nitro-image-bug and compare unmounting behavior with and without the animated Nitro image. Trace the wrapper TouchableOpacity and View lifecycle during removal; done means the wrapper unmounts without the reported delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
frontend, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.