Browse Source

cosmetic patch for collision on certain conditions

the collision is faced when group-by-v2 plugin is used along w/ enabled detailView — if one expands one or more rows in a group into detailView mode & then clicks on tr.groupBy row to collapse this group, the source rows become hidden just as expected, but their detailView representations still stay visible & expanded

applied patch fixes the issue
Juliy V. Chirkov 7 years ago
parent
commit
d97744aff1
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/extensions/group-by-v2/bootstrap-table-group-by.css

+ 5 - 1
src/extensions/group-by-v2/bootstrap-table-group-by.css

@@ -4,4 +4,8 @@
 
 .bootstrap-table .table > tbody > tr.groupBy.expanded {
 
-}
+}
+
+.bootstrap-table .table > tbody > tr.groupBy + tr.hidden + tr.detail-view {
+    display: none;
+}