Skip to content

Commit

Permalink
fix: 修复date-picker圆角问题 + 修复 input tab 选中问题 (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
winixt committed Apr 8, 2022
1 parent dc7122c commit 2fc9459
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/date-picker/datePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:disabled="disabled"
:appendToContainer="appendToContainer"
:getContainer="getContainer"
:popperClass="popperClass"
:popperClass="[popperClass, `${prefixCls}-popper`]"
trigger="click"
:hideAfter="0"
placement="bottom-start"
Expand Down
4 changes: 4 additions & 0 deletions components/date-picker/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
display: inline-block;
width: 100%;
vertical-align: middle;

&-popper {
overflow: hidden;
}
}

@calendars-prefix-cls: ~'@{cls-prefix}-calendars';
Expand Down
3 changes: 1 addition & 2 deletions components/input/inputInner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
(focused || innerIsFocus) && `${prefixCls}-focus`,
disabled && `${prefixCls}-disabled`,
]"
:tabindex="!disabled ? 0 : undefined"
@mousedown="handleMousedown"
@mouseenter="onMouseEnter"
@mouseleave="onMouseLeave"
Expand All @@ -17,7 +16,7 @@
</span>
<input
ref="inputRefEl"
:tabindex="!disabled ? -1 : undefined"
:tabindex="!disabled ? 0 : undefined"
:value="currentValue"
:maxlength="maxlength"
:type="
Expand Down

0 comments on commit 2fc9459

Please sign in to comment.