Skip to content

ScrollToBottomComponent disappears #2610

Open
@zyzRational

Description

@zyzRational

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>

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