wix / react-native-ui-lib

UI Components Library for React Native
https://wix.github.io/react-native-ui-lib/
MIT License
6.44k stars 706 forks source link

Major bug on demo sourcebase: Typography #2347

Closed mary-ng5519 closed 1 year ago

mary-ng5519 commented 1 year ago

Description

The module in playground demo should work properly

Related to

Steps to reproduce

  1. Launch demo app,
  2. Switch theme modes,
  3. Open Typography module sample

    Actual behavior

    Unable to touch on header tabs and swipe actions

    More Info

    Code snippet

    Screenshots/Video

    screencast-Genymotion-2022-11-28_01.35.59.691.webm

    Environment

    • React Native version: 0.69.6
    • React Native UI Lib version: 6.24.0

    Affected platforms

    • [X] Android
    • [X] iOS
    • [ ] Web
mary-ng5519 commented 1 year ago

fyi, please help check the log i recorded,

 ERROR  Warning: Encountered two children with the same key, `undefined_page`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in RCTView (created by View)
    in View
    in View (created by TypographyScreen)
    in Unknown (created by TypographyScreen)
    in TypographyScreen (created by WrappedComponent)
    in WrappedComponent
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in unicorn.style.TypographyScreen(RootComponent)
 ERROR  Warning: Encountered two children with the same key, `undefined_page`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in RCTView (created by View)
    in View
    in View (created by TypographyScreen)
    in Unknown (created by TypographyScreen)
    in TypographyScreen (created by WrappedComponent)
    in WrappedComponent
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in unicorn.style.TypographyScreen(RootComponent)
 ERROR  Warning: Encountered two children with the same key, `undefined_page`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in RCTView (created by View)
    in View
    in View (created by TypographyScreen)
    in Unknown (created by TypographyScreen)
    in TypographyScreen (created by WrappedComponent)
    in WrappedComponent
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in unicorn.style.TypographyScreen(RootComponent)
 ERROR  Warning: Encountered two children with the same key, `undefined_page`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in RCTView (created by View)
    in View
    in View (created by TypographyScreen)
    in Unknown (created by TypographyScreen)
    in TypographyScreen (created by WrappedComponent)
    in WrappedComponent
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in unicorn.style.TypographyScreen(RootComponent)
 ERROR  Warning: Encountered two children with the same key, `undefined_page`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in RCTView (created by View)
    in View
    in View (created by TypographyScreen)
    in Unknown (created by TypographyScreen)
    in TypographyScreen (created by WrappedComponent)
    in WrappedComponent
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in unicorn.style.TypographyScreen(RootComponent)
 ERROR  Warning: Encountered two children with the same key, `undefined_page`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in RCTView (created by View)
    in View
    in View (created by TypographyScreen)
    in Unknown (created by TypographyScreen)
    in TypographyScreen (created by WrappedComponent)
    in WrappedComponent
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in unicorn.style.TypographyScreen(RootComponent)
 ERROR  Warning: Encountered two children with the same key, `undefined_page`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in RCTView (created by View)
    in View
    in View (created by TypographyScreen)
    in Unknown (created by TypographyScreen)
    in TypographyScreen (created by WrappedComponent)
    in WrappedComponent
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in unicorn.style.TypographyScreen(RootComponent)
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.