Skip to content

Change sizing logic, maintain scroll position when full size thumbnails. - #62

Open
sznowicki wants to merge 1 commit into
ilpianista:masterfrom
sznowicki:maintain-scroll-position
Open

sznowicki wants to merge 1 commit into
ilpianista:masterfrom
sznowicki:maintain-scroll-position

Conversation

@sznowicki

Copy link
Copy Markdown
Contributor

This PR fixes a problem, prominent when user sets the 100% width thumbnails.

Previous code checked the actual visibility of an image which flipped during the runtime while user navigated to a single post/article view. Which caused the UI to recalculate heights, often effectively shifting the scroll position when navigating back.

Merging this PR would change the logic to less dynamic, as it doesn't rely on effective visibility but "wanted" visibility based on signals from the post/item data, not runtime dynamics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant