Mouse right-click

Develop and Deploy Cross-Browser Web Apps .

Mouse right-click

Postby joedarock » Tue Aug 30, 2016 6:19 pm

How to detect it?
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Mouse right-click

Postby support » Wed Aug 31, 2016 1:56 am

You can detect the right-click event in oncontextmenu event.
support
 
Posts: 350
Joined: Sat Apr 27, 2013 9:22 am

Re: Mouse right-click

Postby joedarock » Tue Sep 13, 2016 7:05 pm

My app launches a popup information window when the user right-clicks a branch in treeView. I do this with the oncontextmenu event as recommended. It works properly in the debug mode, but when I build the application and deploy to an actual server, right clicking causes the browser's own right-click menu to pop up and obscure my popup. Is this a bug or should I be doing something to prevent it?
joedarock
 
Posts: 161
Joined: Thu Nov 19, 2015 8:39 pm

Re: Mouse right-click

Postby support » Wed Sep 14, 2016 12:29 am

Try to return false in oncontextmenu event.
support
 
Posts: 350
Joined: Sat Apr 27, 2013 9:22 am


Return to CrossUI for Web Apps

Who is online

Users browsing this forum: No registered users and 0 guests

cron