Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Onsen splitter side throws error when closing

  • When I close a splitter side in onsen ui 2.0.0-beta.7, the following error is returned:
    Uncaught (in promise) Not in Collapse Mode.
    This only occurs if I try to closed a closed menu. This behavior did not happen in beta.6

  • Onsen UI

    @SharkChips Thanks for reporting! I have also seen this behavior. We will investigate why this happens.

  • Onsen UI

    @SharkChips openMenu and related methods return promises since beta.7. If for some reason the splitter cannot open or close (because it’s already open/closed, another splitter is open, etc.), it will reject the promise and this is printed on the console if you don’t handle it with catch. I think we will modify this behavior because it could be a bit annoying. In any case, you don’t need to worry about those error messages now since they don’t affect your app.