Skip to content

Fix paint editor color picker z-index - #9157

Open
mxmou wants to merge 1 commit into
ScratchAddons:masterfrom
mxmou:picker-z-index
Open

Fix paint editor color picker z-index#9157
mxmou wants to merge 1 commit into
ScratchAddons:masterfrom
mxmou:picker-z-index

Conversation

@mxmou

@mxmou mxmou commented Aug 10, 2026

Copy link
Copy Markdown
Member

Resolves #5986

Changes

The color picker in the costume editor automatically adjusts its position if there isn't enough vertical space for it, but because its z-index is too low, this may cause other elements to appear in front of it.

This PR adds a CSS rule that increases the z-index to all addons that make the color picker taller.

image

Tests

Tested on Edge.

@mxmou mxmou self-assigned this Aug 10, 2026
@mxmou mxmou added the scope: addon Related to one or multiple addons label Aug 10, 2026
@DNin01 DNin01 added the size: small Can be reviewed quickly label Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: addon Related to one or multiple addons size: small Can be reviewed quickly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2d-color-picker causes color picker modal to be in wrong position

2 participants