File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -986,7 +986,6 @@ function RangerPicker<DateType>() {
986
986
) {
987
987
// Arrow offset
988
988
arrowLeft = startInputDivRef . value . offsetWidth + separatorRef . value . offsetWidth ;
989
-
990
989
if (
991
990
panelDivRef . value . offsetWidth &&
992
991
arrowRef . value . offsetWidth &&
@@ -1001,7 +1000,8 @@ function RangerPicker<DateType>() {
1001
1000
}
1002
1001
}
1003
1002
1004
- const arrowPositionStyle = direction === 'rtl' ? { right : arrowLeft } : { left : arrowLeft } ;
1003
+ const arrowPositionStyle =
1004
+ direction === 'rtl' ? { right : `${ arrowLeft } px` } : { left : `${ arrowLeft } px` } ;
1005
1005
1006
1006
function renderPanels ( ) {
1007
1007
let panels : VueNode ;
@@ -1092,7 +1092,7 @@ function RangerPicker<DateType>() {
1092
1092
return (
1093
1093
< div
1094
1094
class = { `${ prefixCls } -panel-container` }
1095
- style = { { marginLeft : panelLeft } }
1095
+ style = { { marginLeft : ` ${ panelLeft } px` } }
1096
1096
ref = { panelDivRef }
1097
1097
onMousedown = { e => {
1098
1098
e . preventDefault ( ) ;
You can’t perform that action at this time.
0 commit comments