Skip to content

Only collapse statuses if a significant amount of content will be hidden

shadowfacts requested to merge shadowfacts/mastofe:patch-1 into pleroma

This changes the status collapsing behavior so that the status will only be made collapsible if there's a significant (currently 100px, but this is arbitrary and could be changed) amount of content will be hidden.

The old behavior has poor UX when there's very little content (only a few lines) being hidden. This should also solve the bug of the collapse button being shown when there's nothing to actually collapse/expand.

This thread has example screenshots.

Merge request reports