Commit cd2900f
authored
Bug fix : Selecting text in login page is causing the input field to be hidden, Fixes AB#3447997 (#2826)
**Problem**: Adding android:background to an Activity theme causes input
text fields to disappear when selected as reported in this bug
https://identitydivision.visualstudio.com/Engineering/_workitems/edit/3383676
**Root Cause**: The android:background attribute sets a background
drawable at the view level, which interferes with EditText's own
background drawable that handles the focus state, underline, and cursor
rendering.
**Solution**: Changed from android:background to
android:windowBackground. The android:windowBackground attribute sets
the background at the window level (behind all views) without affecting
individual view backgrounds, allowing EditText fields to maintain their
focus states and remain visible.
The style now correctly uses android:windowBackground which will set the
white background for the entire activity window without interfering with
input fields' rendering and focus behavior.
Fixes
[AB#3447997](https://identitydivision.visualstudio.com/fac9d424-53d2-45c0-91b5-ef6ba7a6bf26/_workitems/edit/3447997)1 parent 5ad1ad3 commit cd2900f
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| 578 | + | |
578 | 579 | | |
579 | 580 | | |
580 | 581 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
0 commit comments