Skip to content

[FIX: #257]: Resolving black background inconsistency in all three sections during scale down of page.#258

Open
DevanshDeep-5 wants to merge 1 commit intom2b3:mainfrom
DevanshDeep-5:DevanshDeep-5-patch-1
Open

[FIX: #257]: Resolving black background inconsistency in all three sections during scale down of page.#258
DevanshDeep-5 wants to merge 1 commit intom2b3:mainfrom
DevanshDeep-5:DevanshDeep-5-patch-1

Conversation

@DevanshDeep-5
Copy link

Title: Resolving black background inconsistency in all three sections during scale down of page.

Description: This PR fixes a mobile-specific visual issue where opening the bottom drawer with background scaling enabled caused a large dark/empty area to appear during the scale-down animation in light mode.
The issue was reproducible across multiple sections (Articles, Communities, Discussions).While the scaling interaction itself was working as intended, the layout did not consistently occupy the full viewport height during scaling, resulting in a visually distracting experience.

What was changed

1). Ensured that the main layout wrapper consistently fills the viewport height on mobile.
2). Preserved the existing shouldScaleBackground behavior to retain the intended zoom-out interaction.
3). Avoided changes to drawer logic or animation to keep the fix focused and low-risk.
This results in a consistent and clean scaling experience across all sections in light mode.

Screenhots (if any):

Screen.Recording.2026-01-12.at.12.11.43.AM.mov

Resolves #257

@airfusion64
Copy link
Contributor

Please raise the PR for test branch and conttinue working on that branch only.

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.

[ENHANCEMENT]: Inconsistent background exposure when scaling page with bottom drawer in mobile view.

2 participants