• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Disable pinch to zoom on modal dialog in mobile devices

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Disable pinch to zoom on modal dialog in mobile devices

    Is this possible? I have a nodal dialog which fills 100% of the viewport. position is fixed. Underlying page scrolls ok (visible as opacity of dialog is set to .75) but we don't want them to be able to pinch to zoom - i.e. the image in the modal dialog that overlays the page needs to remain the same size.

    Anyone got any ideas how this can be done in CSS?

    #2
    You can trap the touch events in JS and stop people being able to do anything.
    Will work inside IR35. Or for food.

    Comment

    Working...
    X