Skip to content

Conversation

@rexy712
Copy link
Contributor

@rexy712 rexy712 commented Feb 6, 2026

Initiative effects collapse when the mouse is not hovering over that entry. When editing an effect name for that entry, the effects would collapse when the mouse exited the parent entry even if the input box had focus.

Initiatially I tried to do this without hard coding separate 'mouseOver' and 'focused' statuses, something like showEffect: { index: number, showCount: number } where the showCount would increment once for each event that asked for focus and decrement once when something released focus. But doing this, I ended up finding some edge cases where the effects would become stuck expanded and other entries could not become expanded. Due to this, I fell back on tracking the variables separately.

This fixes #1767

@Kruptein Kruptein merged commit d6187e8 into Kruptein:dev Feb 7, 2026
8 checks passed
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.

[BUG] Effects Can Collapse While Editing An Effect

2 participants