浏览代码

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 年之前
父节点
当前提交
d97744aff1
共有 1 个文件被更改,包括 5 次插入1 次删除
  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;
+}