This is a migrated thread and some comments may be shown as answers.

[Solved] This is probably a bug

1 Answer 69 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
nachid
Top achievements
Rank 1
nachid asked on 25 May 2011, 08:35 PM
I just came accross this one.
When you're on ExpandMode =PanelBarExpandMode.Multiple and you try to expand a panel that is already expanded, your panel stops responding to collapse/expand events.

Here how to reproduce this behavior.

Take the panelbar of the sample page
And run this script on firebug to test it for the first panel (mail)
var panelBar = $('#PanelBar').data('tPanelBar');
var $item = $(panelBar.element).find('> .t-item:first');
 
panelBar.expand($item);


Strange enough, this behavior does not exit for the opposite action : collapse

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 26 May 2011, 09:02 AM
Hello nachid,

Thank you for reporting this. It has been fixed by the following code in the _toggleGroup client-side method:

old code:
if ($element.data('animating'))
    return;

new code:
if ($element.is(":visible") != visibility || $element.data('animating'))
    return;

Your Telerik points have been updated for the report.

Regards,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
PanelBar
Asked by
nachid
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or