🐛 fix: prevent actions menu closing on diagonal hover#656
Open
jairoFernandez wants to merge 2 commits into
Open
🐛 fix: prevent actions menu closing on diagonal hover#656jairoFernandez wants to merge 2 commits into
jairoFernandez wants to merge 2 commits into
Conversation
ea01e5e to
cab0c66
Compare
The row actions (kebab) menu had two usability issues: 1. It closed when moving the cursor diagonally toward the options. The gap between the trigger and the panel used a margin that collapsed outside the hoverable area, and the menu toggled via display with no grace period. 2. On the last rows the panel was clipped by the table body wrapper (overflow-hidden), hiding the lower options behind the pagination. - Replace the margin gap with padding on the toggled wrapper so the trigger, bridge and panel form a continuous hover region. - Toggle via visibility/opacity: opens instantly on hover, waits 150ms before closing so diagonal moves re-enter. - Open the panel upward when there is not enough room below within the clipping container, so options are never hidden.
Cover rendering, option click with the row data, the empty-actions case, and the downward/upward (flip) opening direction.
9fe04d9 to
c24e8ad
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The row actions (kebab) menu closed when moving the cursor diagonally toward the options. The gap between the trigger and the panel used a margin that collapsed outside the hoverable area, and the menu toggled via display with no grace period.