Skip to content

Commit 77becd7

Browse files
committed
Fix incorrect positioning of controls
1 parent d6d129d commit 77becd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Resizer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const Resizer = ({ children, style, onLayout }) => {
2424
return (
2525
React.createElement(
2626
'div',
27-
{ ref: divRef, style },
27+
{ ref: divRef, style: { ...style, position: 'relative' } },
2828
children
2929
)
3030
)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-presentable",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "This is a library to create slideshows using react",
55
"repository": "3DJakob/react-presentable",
66
"license": "MIT",

0 commit comments

Comments
 (0)