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

Fix firefox scrolling settings tabs differently #2579

Merged
merged 1 commit into from
Feb 7, 2019

Conversation

turt2live
Copy link
Member

Fixes element-hq/element-web#8408

Might also fix Safari. Source: https://moduscreate.com/blog/how-to-fix-overflow-issues-in-css-flex-layouts/

The other min-height is also required as far as I can tell. Changing it on the fly makes no difference, however refreshing causes problems.

Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

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

Thanks, seems fine to me. 😁

This is a bit of tricky case with flexbox where the default min-height for flex items was changed later on in the life of the spec, so some engines differ on the behavior. I think the Firefox perspective is that Firefox follows the updated spec while Chrome does not for some specific edge cases. A related Firefox bug reveals some of the history here.

@turt2live turt2live merged commit 5b4ebf3 into develop Feb 7, 2019
@turt2live turt2live deleted the travis/settings/fix-ff-scroll branch February 7, 2019 15:14
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.

Settings don't scroll correctly on firefox
2 participants