Skip to content

Commit

Permalink
docs(useDrag): style overflow auto (alibaba#2443)
Browse files Browse the repository at this point in the history
  • Loading branch information
coding-ice authored and Wait committed Feb 26, 2024
1 parent dec20ac commit b506361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/hooks/src/useDrop/demo/demo1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export default () => {
{isHovering ? 'release here' : 'drop here'}
</div>

<div style={{ display: 'flex', marginTop: 8 }}>
{['1', '2', '3', '4', '5'].map((e, i) => (
<div style={{ display: 'flex', marginTop: 8, overflow: 'auto' }}>
{['1', '2', '3', '4', '5'].map((e) => (
<DragItem key={e} data={e} />
))}
</div>
Expand Down

0 comments on commit b506361

Please sign in to comment.