From ffad43350a224b2798c3846f936511b740f4dc94 Mon Sep 17 00:00:00 2001 From: Leroy Date: Wed, 19 Apr 2023 23:10:57 +0800 Subject: [PATCH] fix(style): cannot show correctly under safari (#104) --- src/style/mobile-select.less | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/style/mobile-select.less b/src/style/mobile-select.less index 4e9451a..23d0862 100644 --- a/src/style/mobile-select.less +++ b/src/style/mobile-select.less @@ -17,12 +17,17 @@ } .ms-mobile-select { - position: relative; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; z-index: 0; opacity: 0; visibility: hidden; -webkit-transition: opacity 0.4s, z-index 0.4s; transition: opacity 0.4s, z-index 0.4s; + transform: translate(0, 0); * { margin: 0; padding: 0;