Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 68a3f08

Browse files
Merge remote-tracking branch 'origin/main' into feat-4.3
2 parents d6ec6bf + 4a37016 commit 68a3f08

File tree

5 files changed

+24
-9
lines changed

5 files changed

+24
-9
lines changed

‎CHANGELOG.en-US.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010

1111
---
1212

13+
## 4.2.6
14+
15+
- 🐞 Fix Modal component aria-hidden error problem under chrome [#7823](https://github.com/vueComponent/ant-design-vue/issues/7823)
16+
- 🐞 Fix the problem that the built-in input method of Safari automatically fills in the decimal point when inputting Chinese [#7918](https://github.com/vueComponent/ant-design-vue/issues/7918)
17+
- 🐞 Fix InputNumber component disabled style problem [#7776](https://github.com/vueComponent/ant-design-vue/issues/7776)
18+
- 🐞 Fix Select cannot lose focus problem [#7819](https://github.com/vueComponent/ant-design-vue/issues/7819)
19+
1320
## 4.2.5
1421

1522
- 🐞 Fix Empty component memory leak problem

‎CHANGELOG.zh-CN.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010

1111
---
1212

13+
## 4.2.6
14+
15+
- 🐞 修复 Modal 组件在 chrome 下,aria-hidden 报错问题 [#7823](https://github.com/vueComponent/ant-design-vue/issues/7823)
16+
- 🐞 修复 Safari 下自带输入法 input 组件输入中文时,自动填写小数点问题 [#7918](https://github.com/vueComponent/ant-design-vue/issues/7918)
17+
- 🐞 修复 InputNumber 组件 disabled 样式问题 [#7776](https://github.com/vueComponent/ant-design-vue/issues/7776)
18+
- 🐞 修复 Select 无法失焦问题 [#7819](https://github.com/vueComponent/ant-design-vue/issues/7819)
19+
1320
## 4.2.5
1421

1522
- 🐞 修复 Empty 组件内存泄漏问题

‎components/vc-dialog/Content.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { getTransitionProps } from '../_util/transition';
55
import dialogPropTypes from './IDialogPropTypes';
66
import { offset } from './util';
77
const sentinelStyle = { width: 0, height: 0, overflow: 'hidden', outline: 'none' };
8-
8+
constentityStyle={outline: 'none'};
99
export type ContentRef = {
1010
focus: () => void;
1111
changeActive: (next: boolean) => void;
@@ -28,14 +28,14 @@ export default defineComponent({
2828
const dialogRef = ref<HTMLDivElement>();
2929
expose({
3030
focus: () => {
31-
sentinelStartRef.value?.focus();
31+
sentinelStartRef.value?.focus({preventScroll: true});
3232
},
3333
changeActive: next => {
3434
const { activeElement } = document;
3535
if (next && activeElement === sentinelEndRef.value) {
36-
sentinelStartRef.value.focus();
36+
sentinelStartRef.value.focus({preventScroll: true});
3737
} else if (!next && activeElement === sentinelStartRef.value) {
38-
sentinelEndRef.value.focus();
38+
sentinelEndRef.value.focus({preventScroll: true});
3939
}
4040
},
4141
});
@@ -143,9 +143,10 @@ export default defineComponent({
143143
onMousedown={onMousedown}
144144
onMouseup={onMouseup}
145145
>
146-
<div tabindex={0} ref={sentinelStartRef} style={sentinelStyle} inert/>
147-
{modalRender ? modalRender({ originVNode: content }) : content}
148-
<div tabindex={0} ref={sentinelEndRef} style={sentinelStyle} inert/>
146+
<div tabindex={0} ref={sentinelStartRef} style={entityStyle}>
147+
{modalRender ? modalRender({ originVNode: content }) : content}
148+
</div>
149+
<div tabindex={0} ref={sentinelEndRef} style={sentinelStyle} />
149150
</div>
150151
) : null}
151152
</Transition>

‎components/vc-trigger/Popup/PopupInner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export default defineComponent({
196196
ref={alignRef}
197197
monitorWindowResize
198198
disabled={alignDisabled.value}
199-
align={align}
199+
align={alignasany}
200200
onAlign={onInternalAlign}
201201
v-slots={{
202202
default: () => (

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ant-design-vue",
3-
"version": "4.2.5",
3+
"version": "4.2.6",
44
"title": "Ant Design Vue",
55
"description": "An enterprise-class UI design language and Vue-based implementation",
66
"keywords": [

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /