react-rnd
react-rnd copied to clipboard
Set default size only
Is it possible to set the default size only? I would like to show card in the bottom of the screen with some default height, but if I use default property it always set the top and left to zero
<Rnd
default={{height: 500, width: '100%'}} // I don't want to set x and y here
style={{
position: 'fixed',
bottom: 0,
}}>
<Component/>
</Rnd>
Same here, it looks like the rnd wrapper always overide top
bottom
right
left
style properties no matter what you do, so this lib currently does not seems to support position: "fixed" option