mastodon-android icon indicating copy to clipboard operation
mastodon-android copied to clipboard

Feature: Maximum height for posts behind content warning

Open sk22 opened this issue 3 years ago • 1 comments

Screenshot_20220515-214645736

The post in the screenshot is way larger, I think the problem is obvious. There really should be a maximum height (that ideally doesn't cut off very long content warnings either) for posts behind content warnings.

sk22 avatar May 15 '22 19:05 sk22

Fixed this in my fork, but not creating a pull request here for now because https://github.com/mastodon/mastodon-android/issues/22#issuecomment-1304762602

sk22 avatar Nov 07 '22 16:11 sk22

IMO a nicer solution could be adjusting the placement of the spoiler tag text so that it's always on-screen, without changing the height of the spoiler area. Quoting myself from #419:

Ideally the text should have a "sticky" positioning, so that it can still be in the vertical center of the post when that doesn't place it off-screen, but would otherwise remain visible (stuck to the top or the bottom of the visible area).

waldyrious avatar Nov 25 '22 10:11 waldyrious