Skip to content

Skeleton hides real content.Β #18

@AshishAlagiyac-lab

Description

@AshishAlagiyac-lab

I am using react-native-auto-skeleton as a wrapper in my app.

below is my code:

const AutoSkeletonWrapper = ({ isLoading, children }) => {
  return (
    <View>
      <AutoSkeletonView isLoading={isLoading}>
        {children}
      </AutoSkeletonView>
    </View>
  );
};

Please check below screen recording:
https://drive.google.com/file/d/1WWdqjGRQl55KeYVALMTiPunXk9SV2Xk2/view?usp=sharing

After I apply a filter and then remove it, the list data exists but text does not appear.
Only the skeleton background stays visible.
If I restart the app, everything works again.
If I remove this library, the issue disappears.

Problem Behavior:

  • When isLoading becomes false, real UI sometimes does NOT show.

What I tested:

  • Removing the library β†’ everything works.

Environment:

  • React Native: 0.82.1
  • Library version: ^0.1.30
  • Platform: Android / iOS

Request:

@pioner92 , @techadvisorbe
Please check β€” the skeleton overlay is not clearing after state changes.
Let me know if there is a recommended fix.

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