Showing drawer causes javascript error: .transition undefined

2 posts, 0 answers
  1. Jens
    Jens avatar
    7 posts
    Member since:
    May 2014

    Posted 12 Jan Link to this post

    Hello,

    I want to use the mobile drawer for navigation between views and initialize it from JavaScript and the resulting DOM elements look correct. However, when showing the drawer I get an error in the bold line below due to "transition" being undefined: 

                if (this.options.swipeToOpen && SWIPE_TO_OPEN) {
                    userEvents.bind("press", function() { drawer.transition.cancel(); });

    How should the drawer be initialized to avoid this error?

  2. Jens
    Jens avatar
    7 posts
    Member since:
    May 2014

    Posted 13 Jan in reply to Jens Link to this post

    Well, found the answer: as it does state in the documentation, transitions should be removed when the drawer is used for navigation between local views...
  3. Kendo UI is VS 2017 Ready
Back to Top