hotfix/cp-11871-android-scrollable-background-renders-gray#356
Merged
snuricp merged 1 commit intoJun 11, 2026
Merged
Conversation
Fixed an issue where, when non-blocking mode was enabled, a gray background was shown instead of the configured background color.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed an issue where, when non-blocking mode was enabled, a gray background was shown instead of the configured background color.
Note
Low Risk
Single conditional UI background change in banner initialization with no auth, data, or API impact.
Overview
Fixes a gray backdrop on native (non-HTML) app banners when non-blocking mode is on.
In
AppBannerPopup.init(), for non-HTML banners the code already applies the configured background viacomposeBackgroundonbannerBackGroundImageandbody. The rootparentconstraint layout could still show a default/opaque fill outside the banner chrome. The PR setsparentto transparent whenisNonBlockingAppBannersis true, matching the intent of non-blocking overlays so only the composed banner background is visible—not a gray full-area layer.Reviewed by Cursor Bugbot for commit 91aa7bc. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Fixes CP-11871: On Android, non-blocking app banners no longer render a gray background; they now show the configured background color or image. We set the parent view background to transparent when non-blocking mode is enabled.
Written for commit 91aa7bc. Summary will update on new commits.