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

bug: Side menu left closes when popover show #3600

Closed
sgg90 opened this issue Apr 23, 2015 · 3 comments
Closed

bug: Side menu left closes when popover show #3600

sgg90 opened this issue Apr 23, 2015 · 3 comments

Comments

@sgg90
Copy link

sgg90 commented Apr 23, 2015

Type: bug

Platform: android 4.4 webview

I have expose-aside-when on the left menu and it works great. But when it's on portrait mode, if I click on the side left popover, the menu content will be shown without expect it. I have done a codepen to show it. To check, it:

Put it on portrait mode.
Click the button who shows the left menu.
Click the popover which is on the footer.
(the left menu will be closed)

How can I solve it? I want my menu opened when I see the popover.

http://codepen.io/sgg90/pen/bdGgwV

Thank you so much!!

@sgg90 sgg90 changed the title Side menu left closes when popover show bug: Side menu left closes when popover show Apr 23, 2015
@AMar4enko
Copy link

This behaviour forced by expose-aside-when directive. Try to temprorary remove it.

@sgg90
Copy link
Author

sgg90 commented Apr 27, 2015

Temporary "solved" with a timer:

    function openPopover( event, isAside ) 
    {
        $scope.popover.show( event );
        if (!isAside)
        {
            $timeout(
                function ()
                {
                    $ionicSideMenuDelegate.toggleLeft(true);
                }, 1000
            );
        }
    }

@Ionitron
Copy link
Collaborator

Greetings @sgg90!

I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.

Thank you for allowing me to assist you.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants