Skip to content

ScrollToBottomComponent disappears #2610

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

Open
zyzRational opened this issue Mar 29, 2025 · 3 comments
Open

ScrollToBottomComponent disappears #2610

zyzRational opened this issue Mar 29, 2025 · 3 comments

Comments

@zyzRational
Copy link

In version 2.8.1, this update caused this issue

<TouchableOpacity onPress={() => doScrollToBottom()}>
    <Animated.View
      style={[
        stylesCommon.centerItems,
        styles.scrollToBottomStyle,
        scrollToBottomStyle,
        scrollToBottomStyleAnim,
      ]}>
      {renderScrollBottomComponent()}
    </Animated.View>
</TouchableOpacity>

Changing to this can fix this issue

    <Animated.View
      style={[
        stylesCommon.centerItems,
        styles.scrollToBottomStyle,
        scrollToBottomStyle,
        scrollToBottomStyleAnim,
      ]}>
      <TouchableOpacity onPress={() => doScrollToBottom()}>
      {renderScrollBottomComponent()}
      </TouchableOpacity>
    </Animated.View>
@claudiozam
Copy link

@zyzRational do you have more information? Styles?

Thanks.

@zyzRational
Copy link
Author

您能提供更多信息吗?风格?

谢谢。

There's no more

@zyzRational
Copy link
Author

@zyzRational do you have more information? Styles?

Thanks.
I don't quite understand what information you need, this code is located at
./node_modules/react-native-gifted-chat/lib/MessageContainer/index.js:127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants