Skip to content

Wrong Offset auto-scroll when there is unread mentions in LeftSidebar #18110

Description

@DorraJaouad

getFirstItemInViewportIndex, getLastItemInViewportIndex, getItemOffset are not taking into account ConversationTagHeader items: they are rendered and taking height, but not considered when you counting unreadMentionIndices. That's why scroll to bottom, and computing when to show a button has slightly offset with tags used.

Originally posted by @Antreesy in #18036 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions