Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

ui-router, ui-view and ui-layout not playing nicely :) #143

Description

@jmls

I have a ui-view which can have 2 routes. the first is a page that has ui-layout defined, the second is a straight forward html page

<toolbar>stuff</toolbar>
<ui-view></ui-view>

If I navigate to each page directly, then each page renders well. However, I have the splitter bars overlapping my toolbar. However, if I use the toolbar to navigate to the page in question, I get the following

typeError: Cannot set property 'collapsed' of undefined
at uiLayoutCtrl.ctrl.removeContainer (ui-layout.js:357)
at HTMLDivElement.<anonymous> (ui-layout.js:768)
at HTMLDivElement.jQuery.event.dispatch (jquery.js:4435)
at HTMLDivElement.jQuery.event.add.elemData.handle (jquery.js:4121)
at Object.jQuery.event.trigger (jquery.js:4350)
at jQuery.fn.extend.triggerHandler (jquery.js:4907)
at jQuery.cleanData (angular.js:1773)
at Function.cleanData (jquery-ui.js:341)
at jQuery.fn.extend.remove (jquery.js:5258)
at cleanupLastView (angular-ui-router.js:3931)

and all hell breaks loose :(

any quick fix ?

thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions