Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View组件的style嵌套text样式会导致崩溃 #3481

Closed
erpapa opened this issue Sep 1, 2023 · 2 comments
Closed

View组件的style嵌套text样式会导致崩溃 #3481

erpapa opened this issue Sep 1, 2023 · 2 comments
Assignees
Labels
stale: closed Closed due to stale stale: 30d No interaction in the last 30 days

Comments

@erpapa
Copy link

erpapa commented Sep 1, 2023

Describe the bug

View组件的style嵌套text样式会导致崩溃,读取node.props里的text的值没有判断类型。

To Reproduce

render() {
  const styles = StyleSheet.create({
    container: {
      backgroundColor: '#000000',
      text: { color: '#FFFFFF' }
    }
  })
  return (
    <View style={styles.container}>
      <Text style={styles.container.text}>HelloWorld</Text>
    </View>
  )
}

Screenshots

WX20230901-153639

Smartphone (please complete the following information):

  • Device: iPhone Xs Max
  • OS and version: iOS 16.1.2
  • Hippy native SDK version: 2.16.4
  • Front-end SDK and version: @hippy/react 2.16.4

Additional context
Add any other context about the problem here

Copy link

hippy-service bot commented Oct 31, 2023

Pay attention 🛎️ !!
There has been no activity on this issue for 2 months, so I will label it stalled.
It will be automatically closed in 60 days if no more activity. Feel free to leave a comment if you have any questions.

@hippy-service hippy-service bot added the stale: 30d No interaction in the last 30 days label Oct 31, 2023
Copy link

hippy-service bot commented Dec 1, 2023

Sorry, closing this issue because it has stalled for over 3 months.
Feel free to reopen if this issue is still relevant, or to ping the collaborator if you have any questions.

@hippy-service hippy-service bot added the stale: closed Closed due to stale label Dec 1, 2023
@hippy-service hippy-service bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale: closed Closed due to stale stale: 30d No interaction in the last 30 days
Projects
None yet
Development

No branches or pull requests

2 participants