From 4bd60a31c6234e99a43bd62572b45bd897beb332 Mon Sep 17 00:00:00 2001 From: SunDaiyue <31619017+ousc@users.noreply.github.com> Date: Mon, 26 Sep 2022 10:01:28 +0800 Subject: [PATCH] fix(module:select): fix broken cdk virtual scroll integration (#7642) --- components/select/style/patch.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/select/style/patch.less b/components/select/style/patch.less index 32e21bb715..da0c2c684b 100644 --- a/components/select/style/patch.less +++ b/components/select/style/patch.less @@ -15,5 +15,10 @@ .cdk-virtual-scroll-content-wrapper { position: static; } + .cdk-virtual-scroll-spacer{ + position: absolute; + top: 0; + width: 1px; + } } }