Skip to content

Commit 8ff04c8

Browse files
authored
fix: fix style position error (#27)
1 parent 9ade37a commit 8ff04c8

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

CHANGELOG.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
# Changelog
22

3-
## v3.0.0-alpha.2(2022-12-29)
4-
5-
### :blush: Other Changes
6-
7-
1. [ci: update cssinjs (#3)](https://github.com/formilyjs/antd/commit/d7825f2) :point_right: ( [yiyunwan](https://github.com/yiyunwan) )
8-
9-
1. [ci: add tag next](https://github.com/formilyjs/antd/commit/cbbe499) :point_right: ( [yiyunwan](https://github.com/yiyunwan) )
10-
11-
1. [ci: use codecov-action@v3](https://github.com/formilyjs/antd/commit/6f87b9e) :point_right: ( [yiyunwan](https://github.com/yiyunwan) )
12-
13-
## v3.0.0-alpha.1(2022-12-05)
14-
153
### No Change Log
164

175
## v1.1.2(2023-09-21)

packages/components/src/__builtins__/sort.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ export function SortableElement<T extends React.HTMLAttributes<HTMLElement>>(
9393

9494
const style = useMemo(() => {
9595
const zIndex = transform ? 1 : 'none'
96+
const position = transform ? 'relative' : 'unset'
9697
const itemStyle: React.CSSProperties = {
97-
position: 'relative',
98+
position,
9899
touchAction: 'none',
99100
zIndex,
100101
transform: transform

0 commit comments

Comments
 (0)