ant-design/components/select/demo/debug-flip-shift.tsx
二货爱吃白萝卜 4299d774ac
chore: optimize Select like component popup logic (#41619)
* chore: bump trigger ver

* chore: support auto flip + shift

* test: update snapshot

* chore: use in TreeSelect & Cascader
2023-04-04 13:43:53 +08:00

15 lines
272 B
TypeScript

import { Select } from 'antd';
import React from 'react';
const App: React.FC = () => (
<Select
style={{ width: 120, marginTop: '50vh' }}
open
options={new Array(100).fill(null).map((_, index) => ({
value: index,
}))}
/>
);
export default App;