gl-react-image icon indicating copy to clipboard operation
gl-react-image copied to clipboard

image disappeared after refocus the screen

Open hamzadahmani opened this issue 3 years ago • 1 comments

<Surface style={{ width, height, borderRadius }}>
  <>
    <ImageTex filter={filter ? filter : ''}>
      <GLImage source={{ uri: source }} resizeMode="cover" />
    </ImageTex>
  </>
</Surface>

image work only in first time focus the screen after refocus screen image not showing

hamzadahmani avatar Apr 23 '21 14:04 hamzadahmani

You can use AppState to re-render the component whenever the component / screen is focused.

santhalakshminarayana avatar Jun 28 '21 18:06 santhalakshminarayana