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: Using menu on the right side is broken #5147

Closed
mikkokam opened this issue Jan 22, 2016 · 1 comment
Closed

bug: Using menu on the right side is broken #5147

mikkokam opened this issue Jan 22, 2016 · 1 comment
Assignees
Milestone

Comments

@mikkokam
Copy link

Type: bug

Ionic Version: 2.x

Platform: android 4.4 browser

Start a new v2 sidemenu project.
Change the side to the right:

<ion-menu [content]="content" side="right">

Works OK on desktop Chrome + iOS emulation, and without emulation, when toggled by the buttons.
Dragging is broken; the menu jumps immediately on top of the content while the content drags below it.

On Android emulation, the right side menu is totally broken; toggling or dragging throws an error.
The original error seems to be:
ORIGINAL EXCEPTION: TypeError: Cannot read property 'width' of undefinedBrowserDomAdapter.logError @


EXCEPTION: Error during evaluation of "click"
app.bundle.js:32059 EXCEPTION: Error during evaluation of "click"BrowserDomAdapter.logError @ app.bundle.js:32059BrowserDomAdapter.logGroup @ app.bundle.js:32069ExceptionHandler.call @ app.bundle.js:7837(anonymous function) @ app.bundle.js:16935NgZone._notifyOnError @ app.bundle.js:17576collection_1.StringMapWrapper.merge.onError @ app.bundle.js:17471run @ app.bundle.js:1186(anonymous function) @ app.bundle.js:17489NgZone.run @ app.bundle.js:17438outsideHandler @ app.bundle.js:30796run @ app.bundle.js:1183zoneBoundFn @ app.bundle.js:1156
app.bundle.js:32059 ORIGINAL EXCEPTION: TypeError: Cannot read property 'width' of undefinedBrowserDomAdapter.logError @ app.bundle.js:32059ExceptionHandler.call @ app.bundle.js:7846(anonymous function) @ app.bundle.js:16935NgZone._notifyOnError @ app.bundle.js:17576collection_1.StringMapWrapper.merge.onError @ app.bundle.js:17471run @ app.bundle.js:1186(anonymous function) @ app.bundle.js:17489NgZone.run @ app.bundle.js:17438outsideHandler @ app.bundle.js:30796run @ app.bundle.js:1183zoneBoundFn @ app.bundle.js:1156
app.bundle.js:32059 ORIGINAL STACKTRACE:BrowserDomAdapter.logError @ app.bundle.js:32059ExceptionHandler.call @ app.bundle.js:7849(anonymous function) @ app.bundle.js:16935NgZone._notifyOnError @ app.bundle.js:17576collection_1.StringMapWrapper.merge.onError @ app.bundle.js:17471run @ app.bundle.js:1186(anonymous function) @ app.bundle.js:17489NgZone.run @ app.bundle.js:17438outsideHandler @ app.bundle.js:30796run @ app.bundle.js:1183zoneBoundFn @ app.bundle.js:1156
app.bundle.js:32059 TypeError: Cannot read property 'width' of undefined
at new MenuOverlayType (app.bundle.js:59666)
at Menu._getType (app.bundle.js:42738)
at Menu.setOpen (app.bundle.js:42759)
at Menu.toggle (app.bundle.js:42864)
at MenuToggle.toggle (app.bundle.js:45615)
at AbstractChangeDetector.ChangeDetector_GettingStartedPage_0.handleEventInternal (viewFactory_GettingStartedPage:92)
at AbstractChangeDetector.handleEvent (app.bundle.js:13984)
at AppView.triggerEventHandlers (app.bundle.js:18224)
at eval (viewFactory_GettingStartedPage:440)
at app.bundle.js:31416

@brandyscarney
Copy link
Member

Thanks for the issue. This will be fixed in the next release. 👍

@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

4 participants