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

Fix scroll token for EventTile and EventListSummary node type #6154

Merged
merged 4 commits into from
Jun 7, 2021

Conversation

germain-gg
Copy link
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
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

src/components/views/rooms/EventTile.tsx Show resolved Hide resolved
src/components/views/rooms/EventTile.tsx Outdated Show resolved Hide resolved
@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
2 participants