Results 1 to 4 of 4

Thread: Minor - Examples 6.5.x : Panel example should include require for Collapser

    You found a bug! We've classified it as REAC-286 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1

    Default Minor - Examples 6.5.x : Panel example should include require for Collapser

    I'd suggest updating the Panel example to explicitly call Ext.require('Ext.panel.Collapser')

    http://examples.sencha.com/ExtReact/...mponents/panel

    It took a moment or two of head scratching to figure out why the collapser wasn't showing up when I copied the example component code.

  2. #2
    Sencha User Mark.Brocato's Avatar
    Join Date
    Mar 2015
    Location
    Maryland
    Posts
    482

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha Premium User
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    2,339

    Default

    Quote Originally Posted by Mark.Brocato View Post
    Thanks for the report! I have opened a bug in our bug tracker.
    Is this an Ext JS bug, not ExtReact? See bereachad's answer.

  4. #4

    Default

    Quote Originally Posted by LesJ View Post
    Is this an Ext JS bug, not ExtReact? See bereachad's answer.
    It's not a bug in the code for either, the ExtReact example code for collapsible panels doesn't include the require for the panel collapser. The example works because it including an ExtReact build that does have the plugin included, but someone just learning react is probably not going to realize they need to add the require (which is probably what let to the bug report you linked to ... bereachad's answer was to require the plugin).

Similar Threads

  1. Replies: 3
    Last Post: 2 Jul 2012, 4:09 AM
  2. Is there any require or include function ?
    By stevanovich in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 17 Oct 2008, 5:27 AM
  3. [solved] Tree No line styles and disable expander/collapser
    By papasi in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 13 Feb 2008, 7:17 PM
  4. v1alpha examples (very very very minor issues - not bugs)
    By Bobafart in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 19 Feb 2007, 2:54 PM
  5. getting the collapser to work
    By KaranSokhey in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 14 Jan 2007, 9:16 PM

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
  •