duo-navigation-drawer icon indicating copy to clipboard operation
duo-navigation-drawer copied to clipboard

Issue with disabled buttons for content

Open polyak731 opened this issue 5 years ago • 4 comments

When we are implementing this drawer layout and the content view contains buttons that are disabled after opening and closing the drawer layout all the buttons in the content become enabled.

The problem is in the next code(class DuoDrawerLayout):

if (mDragOffset == 0) { setViewAndChildrenEnabled(mContentView, true); setViewAndChildrenEnabled(mMenuView, false); }

polyak731 avatar Jan 10 '20 14:01 polyak731

There are no place in the code where you guys are providing setViewAndChildrenEnabled(mContentView, false);

polyak731 avatar Jan 10 '20 14:01 polyak731

Please mention that you've got my point.

polyak731 avatar Jan 10 '20 14:01 polyak731

Not only buttons, but all views are not disabled for me including relative layouts and edit text. I believe the current solution will be a manual edit to remove the mentioned function but still not sure what it does.

sleepynight2024 avatar Mar 23 '20 07:03 sleepynight2024

Not only buttons, but all views are not disabled for me including relative layouts and edit text. I believe the current solution will be a manual edit to remove the mentioned function but still not sure what it does.

Were you able to find a solution?

xeyal21 avatar Apr 12 '22 13:04 xeyal21