Skip to content

fix: blend mode preview resetting to Normal when hovering between dropdown entries - #4510

Open
Praashh wants to merge 3 commits into
GraphiteEditor:masterfrom
Praashh:fix/layer-blend-mode-preview
Open

fix: blend mode preview resetting to Normal when hovering between dropdown entries#4510
Praashh wants to merge 3 commits into
GraphiteEditor:masterfrom
Praashh:fix/layer-blend-mode-preview

Conversation

@Praashh

@Praashh Praashh commented Sep 7, 2026

Copy link
Copy Markdown

This PR fixes issue #2863.

Reason

Previously, hoverOutEntry was fired whenever the cursor left any single <LayoutRow>. Because <Separator /> elements between sections are not entry rows

Fix

By moving the pointerleave listener to the parent <LayoutCol>, crossing internal dividers or moving between rows no longer fires pointerleave (since pointerleave does not bubble and only fires when exiting the container and all of its child elements).

Before

prev.mov

After

after.mov

@Praashh Praashh changed the title fix: layer blend mode preview, hovering the mouse over the dividing l… fix: #2863 Bug Sep 7, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 4 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread frontend/src/components/widgets/inputs/DropdownInput.svelte Outdated
Comment thread frontend/src/components/panels/Layers.svelte
@Praashh Praashh changed the title fix: #2863 Bug fix: blend mode preview resetting to Normal when hovering between dropdown entries Sep 7, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 2 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread frontend/src/components/widgets/inputs/DropdownInput.svelte Outdated

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 1 file (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

Re-trigger cubic

Comment thread frontend/src/components/widgets/inputs/DropdownInput.svelte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant