Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Fix scroll token for EventTile and EventListSummary node type#6154

Merged
germain-gg merged 4 commits into
developfrom
gsouquet/fix-files-scroll-token
Jun 7, 2021
Merged

Fix scroll token for EventTile and EventListSummary node type#6154
germain-gg merged 4 commits into
developfrom
gsouquet/fix-files-scroll-token

Conversation

@germain-gg
Copy link
Copy Markdown
Contributor

@germain-gg germain-gg commented Jun 7, 2021

Regressed by #6079

Fixes element-hq/element-web#17567
Fixes element-hq/element-web#17579

Superseeds #6150 due to timing constraints

This fixes the FilePanel and the NotificationPanel scrolling ensuring that the nodes there have the correct data-scroll-tokens attribute set.

It also ensures that all element are list item and that no other node types are a direct child of the ol element for a11y reasons

@germain-gg germain-gg requested a review from a team June 7, 2021 11:22
Copy link
Copy Markdown
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise

Comment thread src/components/views/rooms/EventTile.tsx
Comment thread src/components/views/rooms/EventTile.tsx Outdated
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
@germain-gg germain-gg merged commit a3a6f3f into develop Jun 7, 2021
@germain-gg germain-gg deleted the gsouquet/fix-files-scroll-token branch June 7, 2021 11:45
@robintown robintown mentioned this pull request Jun 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NotifPanel now autoscrolls to the bottom every time your client receives a message Can't scroll up in the right message panel

2 participants