Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit e039460

Browse files
author
dpatanin
committed
allow overflow on scannerExamples
1 parent 5a966ac commit e039460

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/components/ScannerExamples.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1+
import groupBy from 'lodash/groupBy';
2+
import mapValues from 'lodash/mapValues';
13
import React from 'react';
2-
import { Tab, Tabs, TabList, TabPanel } from 'react-tabs';
4+
import { Tab, TabList, TabPanel, Tabs } from 'react-tabs';
35
import 'react-tabs/style/react-tabs.css';
46
import Collapsible from './Collapsible';
57

6-
import groupBy from 'lodash/groupBy';
7-
import mapValues from 'lodash/mapValues';
8-
98
export default function ScannerExamples({ examples: allExamples }) {
109
const exampleGroups = mapValues(
1110
groupBy(allExamples, ({ scanTarget }) => scanTarget),
@@ -23,8 +22,10 @@ export default function ScannerExamples({ examples: allExamples }) {
2322
return (
2423
<Tabs key={targetName}>
2524
<Collapsible
25+
overflowWhenOpen="visible"
2626
lazyRender={true}
2727
transitionTime={150}
28+
transitionCloseTime={50}
2829
trigger={targetName}
2930
triggerTagName="h3"
3031
>

0 commit comments

Comments
 (0)