bhd-components 0.11.16 → 0.11.17

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.
@@ -275,14 +275,14 @@ const VirtuosoList = /*#__PURE__*/ forwardRef((props, ref)=>{
275
275
  const scrollToBottom = ()=>{
276
276
  if (!virtuosoRef.current) return;
277
277
  if (isAutoScrollRef.current && !userScrolledUpRef.current) {
278
- timerRef.current.scrollTimer = setTimeout(()=>{
279
- virtuosoRef.current.scrollToIndex({
280
- index: "LAST",
281
- align: "end",
282
- behavior: "auto",
283
- offset: scrollOffset
284
- });
285
- }, 100);
278
+ // timerRef.current.scrollTimer = setTimeout(() => {
279
+ virtuosoRef.current.scrollToIndex({
280
+ index: "LAST",
281
+ align: "end",
282
+ behavior: "auto",
283
+ offset: scrollOffset
284
+ });
285
+ // }, 100);
286
286
  }
287
287
  };
288
288
  const getData = (page, pageSize)=>{
@@ -280,14 +280,14 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
280
280
  var scrollToBottom = function() {
281
281
  if (!virtuosoRef.current) return;
282
282
  if (isAutoScrollRef.current && !userScrolledUpRef.current) {
283
- timerRef.current.scrollTimer = setTimeout(function() {
284
- virtuosoRef.current.scrollToIndex({
285
- index: "LAST",
286
- align: "end",
287
- behavior: "auto",
288
- offset: scrollOffset
289
- });
290
- }, 100);
283
+ // timerRef.current.scrollTimer = setTimeout(() => {
284
+ virtuosoRef.current.scrollToIndex({
285
+ index: "LAST",
286
+ align: "end",
287
+ behavior: "auto",
288
+ offset: scrollOffset
289
+ });
290
+ // }, 100);
291
291
  }
292
292
  };
293
293
  var getData = function(page, pageSize) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.11.16",
3
+ "version": "0.11.17",
4
4
  "description": "组件功能描述",
5
5
  "config": {
6
6
  "commitizen": {