bound='parent' option in flex box
See original GitHub issuein this case :
<div style="display: flex;flex-direction: 'column'; width: 800px; height: 600px">
<div style='width: 300px' id='leftside'></div>
<div style='flex:1'>
<Draggble bounds='parent'><div>bound drag</div></Draggble>
</div>
</div>
bound option seems work fine to lock the draggable div in 800*600 area, but offset left was ignore. i mean draggable div was not suppposed to be able to dragged to x=0px , is was supposed to 300px
is there anyone help me? thanks very much
Issue Analytics
- State:
- Created 7 years ago
- Reactions:10
- Comments:6
Top Results From Across the Web
bound='parent' option in flex box · Issue #213 · react ... - GitHub
bound='parent' option in flex box #213 ... bound option seems work fine to lock the draggable div in 800*600 area, but offset left...
Read more >A Complete Guide to Flexbox | CSS-Tricks
This complete guide explains everything about flexbox, focusing on all the different possible properties for the parent element (the flex ...
Read more >Basic concepts of flexbox - CSS: Cascading Style Sheets | MDN
The Flexible Box Module, usually referred to as flexbox, was designed as a one-dimensional layout model, and as a method that could offer ......
Read more >Flexbox | Webflow University
Once you change the layout setting of a parent element to flex, you'll have a number of layout options for both the flex...
Read more >Flex - Bootstrap
Apply display utilities to create a flexbox container and transform direct children ... Choose from the same options as align-items : start ,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

set position at parent node will resolve this problem
Hello! I have this issue too. Maybe, I can fix this issue. I will try to fix this issue.