Skip to content

Conversation

@JammingBen
Copy link
Contributor

Also increases the action menu sub-drop width a bit.

fixes #1335

@JammingBen JammingBen self-assigned this Oct 9, 2025
Copilot AI review requested due to automatic review settings October 9, 2025 07:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes mobile context menu functionality in the tiles view by implementing proper mobile handling for right-click context menus. The fix ensures that on mobile devices, the context menu opens through the proper bottom drawer mechanism instead of the desktop positioned dropdown approach.

  • Adds mobile detection and conditional logic to handle right-click context menus appropriately on mobile devices
  • Updates action menu dropdown width from w-auto to w-3xs for improved visual consistency
  • Updates corresponding test snapshots to reflect the width changes

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
ResourceTiles.vue Adds mobile detection logic to redirect context menu handling to bottom drawer on mobile devices
ActionMenuDropItem.vue Changes dropdown width from w-auto to w-3xs for consistent sizing
ContextActionMenu.spec.ts.snap Updates test snapshots to reflect new dropdown width class
ActionMenuDropItem.spec.ts.snap Updates test snapshots to reflect new dropdown width class

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@AlexAndBear AlexAndBear left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

🕵️

@JammingBen JammingBen merged commit 91ca99a into main Oct 9, 2025
29 checks passed
@JammingBen JammingBen deleted the fix/mobile-tile-view-right-click branch October 9, 2025 08:35
@openclouders openclouders mentioned this pull request Oct 9, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Right-click mobile context menu doesn't work in tiles view

4 participants