Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExpandableActionButton Sub-button commands aren't working. #53

Open
nosweat opened this issue Oct 9, 2017 · 1 comment
Open

ExpandableActionButton Sub-button commands aren't working. #53

nosweat opened this issue Oct 9, 2017 · 1 comment

Comments

@nosweat
Copy link

nosweat commented Oct 9, 2017

ExpandableActionButton Sub-button commands aren't working or triggering.

Even trying the ExpandableActionButton demo codes does not work.

@devmosman
Copy link

i have the same issue ,but i change in control it self as change to command event that makes submenu hid after ,and create this event with new Command Property in ActionButton class "HideCommand" then inforce to execute on event TouchesEnded
private void AddButtons() { if (_buttonsAdded) return; _buttonsAdded = true; foreach(var button in Buttons) { button.Opacity = 0.0; //button.Command = new Command(async () => { button.HideCommand = new Command(async () => { if (!_isShowingSubmenu) return; _mainButton.IsToggled = false; await HideButtonsAsync (); }); AddButtonToLayout (button, _buttonsLayout); } _buttonsLayout.ForceLayout (); }

ActionButton.cs.txt
ExpandableActionButton.cs.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants