语言

Menu
Sites
Language
clipboard menu on long press

I wonder how to lock opening clipboard menu when I press some image on the screen.

I want to do something when user still pressing a button (<img>) but then clipboard

menu is shown and app lost focus. How to prevent showing clipboard menu for whole

screen or one DOM element like image? Is it possible in Web apps at all?

 

Thanks guys for any hint.

 

regards, slaw

 

响应

1 回复
Iqbal Hossain

Hi @slawek-kowalski

As far i know simple image will not generate clipboard menu. Try like this. 

<section>
    <img src="images/01.jpg" />
</section>

If you need any action on press on the image, you can use context menu for this purposes. 
You can check this for Context menu help http://stackoverflow.com/questions/38512678/context-menu-on-tizen-app

-Thanks