Opened 13 years ago
Closed 10 years ago
#5504 closed bug (invalid)
resizable + margin not working
Reported by: | diou | Owned by: | diou |
---|---|---|---|
Priority: | major | Milestone: | 2.0.0 |
Component: | ui.resizable | Version: | 1.8 |
Keywords: | resizable margin | Cc: | [email protected]… |
Blocked by: | Blocking: |
Description
<div style="margin:50px;width:200;height:200px;"> <div id="a">dimencionar</div> </div>
<script> $("#a").resizable({containment: 'parent'}); </script>
the maximum size of the object being resizing is limited to the size of the parent width - your margin
Change History (6)
comment:1 Changed 12 years ago by
Priority: | critical → major |
---|
comment:2 Changed 10 years ago by
Milestone: | TBD → 2.0.0 |
---|
comment:3 Changed 10 years ago by
Owner: | set to diou |
---|---|
Status: | new → pending |
comment:4 Changed 10 years ago by
Status: | pending → new |
---|
Sorry I have not isolated the code.
But a look at the link http://www.bernardosilva.com.br/mover/
Resize the blue div, and you'll see that the limit of resize is not given by the size of the parent element.
Hope that helps
comment:5 Changed 10 years ago by
Status: | new → pending |
---|
Thanks, but in your example containment: 'parent'
is commented out. I moved your example over to jsFiddle and it looks like the containment is working other than being off a little because of the fixed positioned container - http://jsfiddle.net/tj_vantoll/9tLLC/. It doesn't appear to have anything to do with the margin.
comment:6 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Thanks for taking the time to contribute to the jQuery UI project! Unfortunately I am unable to create the problem described in this ticket - http://jsfiddle.net/tj_vantoll/dvyYw/. If you have any further information on the issue please let us know and we will re-investigate.