Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not control width and height during resizing elfinder node #3359

Closed
ToJIka4 opened this issue Jun 11, 2021 · 1 comment
Closed

Do not control width and height during resizing elfinder node #3359

ToJIka4 opened this issue Jun 11, 2021 · 1 comment
Assignees

Comments

@ToJIka4
Copy link

ToJIka4 commented Jun 11, 2021

With flex grid I don't need control width and height via style attribute. So I comment this line

node.css({ width : w, height : parseInt(h) });

Can we have control over it? Also this is solution for #2679

@nao-pon
Copy link
Member

nao-pon commented Jun 12, 2021

@ToJIka4 I added an option noResizeBySelf.

/**
* Do not resize the elFinder node itself on resize parent node
* Specify `true` when controlling with CSS such as Flexbox
*
* @type Boolean
* @default false
*/
noResizeBySelf : false,

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants