Results 1 to 5 of 5

Thread: me.getModal is not a function on Treelist in Micro Mode

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2017

    Default me.getModal is not a function on Treelist in Micro Mode

    I am using Architect with ExtJS 6.6.0.

    I have a treelist menu that I put into micro mode: treelist.setMicro(true)

    When it's in micro mode and a user hovers over an icon and clicks the expanded menu item, this error is thrown:
    HTML Code:
    ext-modern-all-debug.js?_dc=1536693246132:34983 Uncaught TypeError: me.getModal is not a function
        at constructor.syncAlwaysOnTop (ext-modern-all-debug.js?_dc=1536693246132:34983)
        at constructor.toFront (ext-modern-all-debug.js?_dc=1536693246132:34223)
        at constructor.doHandleDocumentMouseDown (ext-modern-all-debug.js?_dc=1536693246132:18810)
        at Object._invoker [as invoke] (ext-modern-all-debug.js?_dc=1536693246132:18476) 
        at exec (ext-modern-all-debug.js?_dc=1536693246132:18496)
        at Object.elevate (ext-modern-all-debug.js?_dc=1536693246132:2054)
        at timerFn (ext-modern-all-debug.js?_dc=1536693246132:5288)
    I have attempted setting modal: false in the treelist nodes, and while that adds _modal to the treelist item, it is still missing setModal() and getModal().

    The menu still works fine other than throwing this error.

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017


    Thank you for bringing this to our attention. I am sending it over to our support team to look into.

  3. #3
    Sencha User
    Join Date
    Jul 2017


    Any update on this?

  4. #4
    Sencha Premium Member
    Join Date
    Jun 2012


    Any update or fix? I'm seeing this in 6.7 as well.

  5. #5
    Sencha Premium Member
    Join Date
    Dec 2015


    We reported this in Sept. 2018 and got it marked as bug EXTJS-27536 (which now shows closed and fixed in version 7.0).

    Instead of waiting for this version I created an override on Ext.list.TreeItem to verify that me.getModal is defined before using it.

Similar Threads

  1. Replies: 1
    Last Post: 20 Jun 2018, 11:43 AM
  2. Replies: 1
    Last Post: 11 Apr 2017, 7:30 AM
  3. [FIXED] TreeList Micro Mode Row Item Hover micro styling broken in EXTJS ver. 6.0.1
    By geekofnature in forum Ext JS 6.x Bugs
    Replies: 7
    Last Post: 8 Dec 2016, 8:10 AM
  4. Replies: 1
    Last Post: 9 Nov 2015, 8:42 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts