From 4f510dd46cd7a62a4e0dad696ee56d58af4cad35 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Mon, 26 Oct 2020 22:14:00 +0800 Subject: [PATCH] fix: select controller open not work --- antdv-demo | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 205 ++++++------------ .../__snapshots__/index.test.js.snap | 2 - components/vc-select/Selector/Input.tsx | 22 +- components/vc-select/generate.tsx | 17 +- 5 files changed, 99 insertions(+), 149 deletions(-) diff --git a/antdv-demo b/antdv-demo index 6cb2ff40c..9bb9cb5ae 160000 --- a/antdv-demo +++ b/antdv-demo @@ -1 +1 @@ -Subproject commit 6cb2ff40c46114d4195edcacf82e56b6686ff8a7 +Subproject commit 9bb9cb5ae42a776adb2d3bf3242a473a9851b344 diff --git a/components/select/__tests__/__snapshots__/demo.test.js.snap b/components/select/__tests__/__snapshots__/demo.test.js.snap index 879fadb8a..223ba9465 100644 --- a/components/select/__tests__/__snapshots__/demo.test.js.snap +++ b/components/select/__tests__/__snapshots__/demo.test.js.snap @@ -1,20 +1,12 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`renders ./antdv-demo/docs/select/demo/automatic-tokenization.md correctly 1`] = ` - -
- + `; @@ -47,6 +39,22 @@ exports[`renders ./antdv-demo/docs/select/demo/basic.md correctly 1`] = `
`; +exports[`renders ./antdv-demo/docs/select/demo/big-data.md correctly 1`] = ` +
+

100000 Items

+ +
+`; + exports[`renders ./antdv-demo/docs/select/demo/coordinate.md correctly 1`] = `
@@ -80,20 +88,12 @@ exports[`renders ./antdv-demo/docs/select/demo/custom-dropdown-menu.md correctly `; exports[`renders ./antdv-demo/docs/select/demo/hide-selected.md correctly 1`] = ` - -
- + `; @@ -109,26 +109,14 @@ exports[`renders ./antdv-demo/docs/select/demo/label-in-value.md correctly 1`] = `; exports[`renders ./antdv-demo/docs/select/demo/multiple.md correctly 1`] = ` - -
-