@syncfusion/ej2-layouts 19.4.43 → 19.4.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3086,8 +3086,9 @@ let DashboardLayout = class DashboardLayout extends Component {
3086
3086
  else {
3087
3087
  if (this.element.classList.contains(responsive)) {
3088
3088
  removeClass([this.element], [responsive]);
3089
- for (let i = 0; i < this.element.querySelectorAll('.e-panel').length; i++) {
3090
- const ele = this.element.querySelectorAll('.e-panel')[i];
3089
+ const internalPanels = this.element.querySelectorAll(((this.element.id) ? '#' + this.element.id + ' > ' : '') + '.e-panel');
3090
+ for (let i = 0; i < internalPanels.length; i++) {
3091
+ const ele = internalPanels[i];
3091
3092
  const cellInstance = this.getCellInstance(ele.id);
3092
3093
  const row = parseInt(ele.getAttribute('data-row'), 10);
3093
3094
  const col = parseInt(ele.getAttribute('data-col'), 10);