sccoreui 6.5.15 → 6.5.16

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.
package/dist/App.scss CHANGED
@@ -846,11 +846,11 @@ div:has(ul.date_filter) .p-datepicker-footer {
846
846
  }
847
847
  }
848
848
 
849
- .errorField {
850
- color: var(--red-500);
851
- height: auto;
852
- line-height: 20px;
853
- }
849
+ // .errorField {
850
+ // color: var(--red-500);
851
+ // height: auto;
852
+ // line-height: 20px;
853
+ // }
854
854
 
855
855
  .full_form_field {
856
856
  // width: 37.125rem;
@@ -2054,7 +2054,8 @@ div:has(ul.date_filter) .p-datepicker-footer {
2054
2054
 
2055
2055
  .errorField {
2056
2056
  color: var(--red-500);
2057
- height: 20px;
2057
+ max-height: 50px;
2058
+ padding-block: 6px;
2058
2059
  }
2059
2060
 
2060
2061
  .full_form_field {
@@ -38,11 +38,10 @@ function RowVirtualizerDynamic(props) {
38
38
  return;
39
39
  const scrollOffset = el.scrollTop + el.clientHeight;
40
40
  const threshold = el.scrollHeight - 100;
41
- const checCount = allCount.current
41
+ const checCount = allCount.current != null
42
42
  ? allCount.current > totalRecordsCount.current
43
43
  : true;
44
- if (scrollOffset >= threshold && !loadingRef.current && checCount) {
45
- setLoading(true);
44
+ if (el.scrollHeight > el.clientHeight && scrollOffset >= threshold && !loadingRef.current && checCount) {
46
45
  loadingRef.current = true;
47
46
  fetchMoreData(Object.assign(Object.assign({}, initialFetch), { pageIndex: pageIndex.current }));
48
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "6.5.15",
3
+ "version": "6.5.16",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",