Skip to content

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

Open

Description

@nosweat

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

Even trying the ExpandableActionButton demo codes does not work.

Activity

  1. devmosman commented on Jan 11, 2018

    @devmosman

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions