-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
good first issueissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong
Description
Check for duplicates
- I have searched for similar issues before opening a new one.
Description
If a shadow block has a dropdown, it gets the color of the parent category, instead of the color of the block own category.
Reproduction steps
- Run
npm run startand click theAdvanced playgroundlink to go to the advanced playground.. - Load the following JSON into the playground:
{
"blocks": {
"languageVersion": 0,
"blocks": [
{
"type": "controls_whileUntil",
"inputs": {
"BOOL": {
"shadow": {
"type": "logic_boolean"
}
}
}
}
]
}
}
- Click on the dropdown block.
- Observe how the dropdown has the color of the parent.
Stack trace
No response
Screenshots
Tested on https://www.supercodingball.com/code/offline/do-nothing:
shadow.dropdown.color.mov
Browsers
Chrome desktop
To Fix
- Run the reproduction steps to make sure you can reproduce the problem.
- Modify the
showEditor_method in theFieldDropdownto always show the current block color (instead of showing the parent colour when the block is a shadow). - Rerun the reproduction steps and make sure you can't reproduce the problem..
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong