Description of the issue:
“Show Sponsored Images” toggle button from “Customize Dashboard” window is not grayed out when toggled off using the parent toggle button “Show Background Images”, while it is grayed out if it is toggled off directly. This is a bug and not a defect because it can be also observed at production Brave browser in Ubuntu 18.04.5 LTS.
“Show Background Images” & “Show Sponsored Images” toggle buttons must be on (active state).
How can this issue be reproduced?
- Open Brave browser (landing page).
- Click “Customize” button (left section)
- Click “Show Background Images” toggle button to toggle it off.
Both parental “Show Background Images” & child “Show Sponsored Images” toggle buttons become inactive (move to the left) but child “Show Sponsored Images” toggle button does not turn grayed out, instead it remains in “active” state color.
Both “Show Background Images” & “Show Sponsored Images” toggle buttons should become inactive (move to the left) and color of the toggle on should turn grayed out.
It can be confirmed that it is expected for the child “Show Sponsored Images” toggle button to also turn gray when inactive since when parent toggle button is active, child toggle button can be turned off and color is grayed out. In fact, when it is deactivated and then the parent is deactivated, the child that was previously inactivated correctly (to the left and color gray) turns to activated color (some tone of red or orange).