0

I have created one page, in which on right clicking on some button a modal appears. When I right click on the modal it doesn't seem to work. So far, what I got to know is, the mouse click is taken by the UI control which comes underneath that modal and listening to all mouse events and that UI control VNC.

I can click on the part of the modal, which is not above that control.

Is there any way I can force modal to take all mouse events when in focus? What I want to do is just right click and copy the text from that modal.

Thanks in advance, Regards,

Ganesh

Ganesh Satpute
  • 3,664
  • 6
  • 41
  • 78

1 Answers1

0

Just called RFB's _rfb.get_keyboard().ungrab() method when modal is shown and was pretty done.

Ganesh Satpute
  • 3,664
  • 6
  • 41
  • 78