This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Christian Poschmann
Posted Jun 18 - Read on Facebook

Is there a way to get 'right click' to work for desktop prototypes?

1 Comments

Josh Ackerman

Yes. Here is an example project I made along time ago which hides the right click menu, and then draws a custom one.
The quick idea is to use
"document.addEventListener "contextmenu", (e) ->"
to listen for the event and,
"e.preventDefault()"
to hide the existing menu.

https://framer.cloud/TTghe

Read the entire post on Facebook