Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix column header scrolling with the page #11458

Merged
merged 1 commit into from
Aug 1, 2019
Merged

Conversation

Gargron
Copy link
Member

@Gargron Gargron commented Aug 1, 2019

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