Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix context menu in the file system component #1205

Merged
merged 1 commit into from
May 28, 2022
Merged

Conversation

jonatanklosko
Copy link
Member

Currently right clicking on files/directories doesn't show the actions menu. We programmatically dispatch the click, however LV now stores mousedown target and dispatches phx-click to that target. I'm not convinced it should behave this way, but dispatching an additional mousedown doesn't hurt and it fixes the issue. See phoenixframework/phoenix_live_view#1920 (comment).

@jonatanklosko jonatanklosko merged commit 72bdf9b into main May 28, 2022
@jonatanklosko jonatanklosko deleted the jk-menu-fix branch May 28, 2022 08:57
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.

2 participants