material icon indicating copy to clipboard operation
material copied to clipboard

md-menu Touch devices issue

Open Benyaminov-d opened this issue 11 years ago • 5 comments

Menu on iPhone and Android sometimes not works. Items in menu just not clickable. Also on touch devices menu stay opened when select and item in menu.

I am using bower-material v.0.10.1-rc2

Tried another versions - found even more bugs. Like - menu works, but Tabs on iOS looks very bad and even dont work.

Benyaminov-d avatar Jul 17 '15 09:07 Benyaminov-d

I can confirm, menu doesn't go away when item is tapped. I guess its because ng-touch stopPropagation/prevents default for ng-click.

FDIM avatar Jul 20 '15 12:07 FDIM

I found that the menu stopped reacting to touch with 602f49048ddd712798f54130ef4430a9fb52e02d and the changes in util.js transitionEndPromise (now called waitTransitionEnd). When I change this function's content back to the old version, the menus close again on tap. However, this is merely a hint - I don't now what other things have change since then and of the side effects.

luiseklein avatar Jul 23 '15 10:07 luiseklein

I agree with FDIM. If I include ngTouch module, md-menu doens't go away. Is there any workaround for this issue ? Can I close mdMenu manually with any function ?

lucasmartinez avatar Jul 30 '15 18:07 lucasmartinez

Menu and Select both have conflicts (using .waitTransitionEnd()) with ngAnimate v1.4.x. This will be resolved with the https://github.com/angular/material/pull/3949.

ThomasBurleson avatar Jul 30 '15 19:07 ThomasBurleson

This appears to be resolved running HEAD on the docs site. Note that we are using Angular v1.4.3 which also has some bug fixes in it around ngAnimate.

rschmukler avatar Aug 17 '15 17:08 rschmukler