asdsolutions-os / duo-navigation-drawer

A flexible, easy to use, unique drawer library for your Android project.
http://psdcompany.nl/
Apache License 2.0
1.1k stars 191 forks source link

not working on xiaomi phones #8

Closed kunwar97 closed 6 years ago

kunwar97 commented 7 years ago

This navigation drawer is not working on some xiaomi phones.

potalexander commented 7 years ago

I personally do not own a xiaomi phone so I haven't had the chance to test on those phones. Could you tell me what's going wrong?

kunwar97 commented 7 years ago

The drawer is opening but the menu items are not getting selected. onClick is not working.

mradzinski commented 6 years ago

Just tested the demo app on several Xiaomi phones (Redmi Note 3, Redmi Note 3 Pro, Redmi 4A and Redmi Mix 2). It's working fine in all of them, so it's obviously something wrong on your phone or code @kunwar97

amautone commented 6 years ago

I have the same problem of @kunwar97, on devices running Android API 19 (KitKat, tested on a tablet and on a simulator with 4,6" screen size) . I have a custom "MenuFragment" with a RecyclerView inside, on Kitkat the RecyclerView is scrollable but items are not clickable while from Lollipop all is working fine

mradzinski commented 6 years ago

@amautone Are this devices sporting KitKat Xiaomi devices?

amautone commented 6 years ago

@mradzinski I just found that I was doing something strange with the right margin of the RecyclerView inside the MenuFragment. Now it is working properly (but anyway the behavior was strange because it was working on devices running Lollipop or above).

Ps: The device I was talking about in my last post was the Samsung Galaxy Note 8.0 (not the new one, the old tablet)

potalexander commented 6 years ago

I updated the library. Go check it out here. It should fix the issue.