Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

rc-tabs

Package Overview
Dependencies
18
Maintainers
7
Versions
225
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 12.7.0 to 12.7.1

2

es/hooks/useVisibleRange.js

@@ -46,3 +46,3 @@ import { useMemo } from 'react';

}
return [startIndex, endIndex];
return startIndex >= endIndex ? [0, 0] : [startIndex, endIndex];
}, [tabOffsets, visibleTabContentValue, tabContentSizeValue, addNodeSizeValue, operationNodeSizeValue, transformSize, tabPosition, tabs.map(function (tab) {

@@ -49,0 +49,0 @@ return tab.key;

@@ -52,3 +52,3 @@ "use strict";

}
return [startIndex, endIndex];
return startIndex >= endIndex ? [0, 0] : [startIndex, endIndex];
}, [tabOffsets, visibleTabContentValue, tabContentSizeValue, addNodeSizeValue, operationNodeSizeValue, transformSize, tabPosition, tabs.map(function (tab) {

@@ -55,0 +55,0 @@ return tab.key;

{
"name": "rc-tabs",
"version": "12.7.0",
"version": "12.7.1",
"description": "tabs ui component for react",

@@ -5,0 +5,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc