Results 1 to 4 of 4

Thread: Error on click in toolbar

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-21720 in 5.1.4.
  1. #1
    Sencha Premium User
    Join Date
    Dec 2015
    Posts
    32

    Default Error on click in toolbar

    Ext version tested:
    5.1.3

    Description:
    If you put a toolbar in a toolbar and click on it, the following error is thrown:
    Code:
    Uncaught TypeError: Cannot read property 'contains' of undefined. FocusableContainer.js:374
    Problem:
    The targetCmp returns undefined when calling getFocusEl().

    Fiddle:
    https://fiddle.sencha.com/#fiddle/1cmk
    (mind that 5.1.3 is not available as fiddle yet...)

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. I've so far been unable to recreate this. With which browser are you seeing this?

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Nevermind, I see it now. Thanks for the report! I have opened a bug in our bug tracker.

  4. #4
    Sencha Premium User
    Join Date
    Dec 2015
    Posts
    32

    Default

    I see this on Chrome.
    Try clicking on the second toolbar itself (not on buttons, menus, etc).

Similar Threads

  1. Replies: 2
    Last Post: 19 Jul 2015, 8:35 PM
  2. Replies: 1
    Last Post: 8 Dec 2014, 6:53 AM
  3. Replies: 1
    Last Post: 1 Oct 2014, 1:33 PM
  4. How do I attach a click event to toolbar title click?
    By shuchia in forum Sencha Touch 1.x: Q&A
    Replies: 0
    Last Post: 28 Oct 2011, 7:48 AM
  5. Add click listener to Toolbar.
    By parth.suthar in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 7 Oct 2011, 1:45 AM

Posting Permissions

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