Skip to content

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

@DorraJaouad

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions