Skip to content

Fix column header scrolling with the page - #11458

Merged
Gargron merged 1 commit into
masterfrom
fix-columns-header-scroll
Aug 1, 2019
Merged

Gargron merged 1 commit into
masterfrom
fix-columns-header-scroll

Conversation

@Gargron

@Gargron Gargron commented Aug 1, 2019 •

Copy link
Copy Markdown
Member

Fix #11396

Regression from aa22b38

The position: sticky property only works for certain DOM structures so I had to modify the ColumnHeader component to render through a portal in the TabsBar component in single-column mode. On the upside, the tabs bar and the column header now work just like before the whole-page scroll change, at least for the most important columns.

@Gargron Gargron added bug Something isn't working ui Front-end, design labels Aug 1, 2019
@Gargron
Gargron force-pushed the fix-columns-header-scroll branch from 0cb3a1b to d6c607e Compare August 1, 2019 08:45
@Gargron
Gargron merged commit 706a48e into master Aug 1, 2019
@Gargron
Gargron deleted the fix-columns-header-scroll branch August 1, 2019 10:27
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ui Front-end, design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tab bar and column header should not scroll

2 participants