material icon indicating copy to clipboard operation
material copied to clipboard

md-menu does not disappear on mobile device when ngTouch is present.

Open lucasmartinez opened this issue 11 years ago • 5 comments

http://codepen.io/anon/pen/eprwYM

Open this URL in Chrome. Press F12 and select Toggle device mode button. Reload codepen url and press menu button. After that select any menu option. Alert is shown but manu is not destroyed.

lucasmartinez avatar Oct 29 '15 11:10 lucasmartinez

+1

ghost avatar Oct 29 '15 14:10 ghost

ngMaterial includes the much more powerful $mdGesture. Is there a reason you need ngTouch?

rschmukler avatar Nov 12 '15 00:11 rschmukler

I need to include ngTouch to remove delay on ngClick on mobile devices.

lucasmartinez avatar Nov 12 '15 15:11 lucasmartinez

What is this for $mdGesture ? I can't find any doc related to that service.

lucasmartinez avatar Nov 12 '15 15:11 lucasmartinez

$mdGesture also takes care of removing the delay on ngClick. For now, I'd recommend not using ngTouch while we work on compatibility.

rschmukler avatar Nov 12 '15 19:11 rschmukler