mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
fix: Align motion match (#26628)
* fix: Align motion match * bump rc-motion * lock rc-trigger version * update snapshot
This commit is contained in:
parent
8ab8862907
commit
c58135fd46
@ -241,6 +241,7 @@ exports[`Cascader can be selected 3`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-cascader-menus ant-cascader-menus-hidden"
|
||||
style="pointer-events:none"
|
||||
>
|
||||
<div>
|
||||
<ul
|
||||
@ -669,6 +670,7 @@ exports[`Cascader popup correctly when panel is hidden 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-cascader-menus ant-cascader-menus-empty ant-cascader-menus-hidden"
|
||||
style="pointer-events:none"
|
||||
>
|
||||
<div />
|
||||
</div>
|
||||
|
@ -398,7 +398,7 @@ exports[`List.pagination should change page size work 2`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-select-dropdown"
|
||||
style="min-width: 0; opacity: 0; pointer-events: none;"
|
||||
style="pointer-events: none; min-width: 0; opacity: 0;"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
|
@ -115,6 +115,7 @@ exports[`Slider should show correct placement tooltip when set tooltipPlacement
|
||||
<div>
|
||||
<div
|
||||
class="ant-tooltip ant-slider-tooltip ant-tooltip-hidden"
|
||||
style="pointer-events:none"
|
||||
>
|
||||
<div
|
||||
class="ant-tooltip-content"
|
||||
@ -168,6 +169,7 @@ exports[`Slider should show tooltip when hovering slider handler 2`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-tooltip ant-slider-tooltip ant-tooltip-hidden"
|
||||
style="pointer-events:none"
|
||||
>
|
||||
<div
|
||||
class="ant-tooltip-content"
|
||||
|
@ -5,6 +5,10 @@
|
||||
transform: scale(0); // need this by yiminghe
|
||||
opacity: 0;
|
||||
animation-timing-function: @ease-out-circ;
|
||||
|
||||
&-prepare {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
.@{className}-leave {
|
||||
animation-timing-function: @ease-in-out-circ;
|
||||
|
@ -36,6 +36,7 @@ exports[`Table.filter renders custom content correctly 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-dropdown ant-dropdown-hidden"
|
||||
style="pointer-events: none;"
|
||||
>
|
||||
<div
|
||||
class="ant-table-filter-dropdown"
|
||||
@ -543,6 +544,7 @@ exports[`Table.filter renders menu correctly 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-dropdown ant-dropdown-hidden"
|
||||
style="pointer-events: none;"
|
||||
>
|
||||
<div
|
||||
class="ant-table-filter-dropdown"
|
||||
@ -647,6 +649,7 @@ exports[`Table.filter renders radio filter correctly 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-dropdown ant-dropdown-hidden"
|
||||
style="pointer-events: none;"
|
||||
>
|
||||
<div
|
||||
class="ant-table-filter-dropdown"
|
||||
|
@ -929,6 +929,7 @@ exports[`Table.rowSelection render with default selection correctly 1`] = `
|
||||
<div>
|
||||
<div
|
||||
class="ant-dropdown ant-dropdown-hidden"
|
||||
style="pointer-events:none"
|
||||
>
|
||||
<ul
|
||||
class="ant-dropdown-menu ant-dropdown-menu-light ant-dropdown-menu-root ant-dropdown-menu-vertical"
|
||||
|
@ -18,14 +18,13 @@ describe('Upload', () => {
|
||||
afterEach(() => teardown());
|
||||
|
||||
// Mock for rc-util raf
|
||||
window.requestAnimationFrame = (callback) => {
|
||||
window.requestAnimationFrame = callback => {
|
||||
window.setTimeout(callback, 16);
|
||||
};
|
||||
window.cancelAnimationFrame = (id) => {
|
||||
window.cancelAnimationFrame = id => {
|
||||
window.clearTimeout(id);
|
||||
};
|
||||
|
||||
|
||||
// https://github.com/react-component/upload/issues/36
|
||||
it('should get refs inside Upload in componentDidMount', () => {
|
||||
let ref;
|
||||
|
@ -129,7 +129,7 @@
|
||||
"rc-input-number": "~6.0.0",
|
||||
"rc-mentions": "~1.4.0",
|
||||
"rc-menu": "~8.5.2",
|
||||
"rc-motion": "^1.1.1",
|
||||
"rc-motion": "^2.0.0",
|
||||
"rc-notification": "~4.4.0",
|
||||
"rc-pagination": "~3.0.3",
|
||||
"rc-picker": "~2.0.6",
|
||||
@ -143,10 +143,10 @@
|
||||
"rc-table": "~7.9.2",
|
||||
"rc-tabs": "~11.6.0",
|
||||
"rc-textarea": "~0.3.0",
|
||||
"rc-tooltip": "~4.2.0",
|
||||
"rc-tooltip": "~5.0.0",
|
||||
"rc-tree": "~3.9.0",
|
||||
"rc-tree-select": "~4.1.1",
|
||||
"rc-trigger": "~4.4.0",
|
||||
"rc-trigger": "~5.0.3",
|
||||
"rc-upload": "~3.3.1",
|
||||
"rc-util": "^5.1.0",
|
||||
"scroll-into-view-if-needed": "^2.2.25",
|
||||
|
Loading…
Reference in New Issue
Block a user