You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Great plugin first of all! Don't know if this is by design, but ngResizable locks the height of the element when the handles only include either 'e' or 'w'. The following roughly illustrate the problem
<div style="position:relative">
<div ngResizable rzHandles="e" style="height: 100%;">
<!--Before drag: This div's height match the parent regardless of parent size-->
<!--After dragging the right handle: This div height is set to the height at the time of dragging. This issue shows up after the parent div resizes for any reason. The height cannot be changed since there's no handle on n or s side-->
</div>
</div>
Took a brief look at angular-resizable.directive.ts, it seems doResize hard set the height and width regardless of the handles. Maybe doResize can check _direction before setting the container size?
Similar problem on width could happen if the handle only includes either s, n
The text was updated successfully, but these errors were encountered:
Hi,
Great plugin first of all! Don't know if this is by design, but ngResizable locks the height of the element when the handles only include either 'e' or 'w'. The following roughly illustrate the problem
Took a brief look at
angular-resizable.directive.ts
, it seemsdoResize
hard set the height and width regardless of the handles. MaybedoResize
can check_direction
before setting the container size?Similar problem on width could happen if the handle only includes either s, n
The text was updated successfully, but these errors were encountered: