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
Dialog Framework: auto width ignored #2831
Comments
I have created a PR #2834 to fix this issue. |
This issue is marked as stale because there was no activity on it for the last 2 years. Remove stale label or comment or this will be closed in 30 days |
The crux of this issue is because its an IFrame when using the Dialog Framework there is no way to set |
@melloware so lets close it and add a hint to the docs? |
That is a great idea. I will update the docs and close this ticket once i have updated. |
It's not possible to auto adjust the width to fit content of a Dialog Framework.
When I put the value of parameter "contentWidth" as "auto" it doesn't change and it is always 640, because this is the default value of property 'contentWidth'. In fact, inspecting the page at runtime it puts the iframe width value as "auto" literally, instead of translating it to the corresponding calculated value.
1) Environment
2) Expected behavior
Auto adjust the width to fit content of a Dialog Framework by setting "auto" value to "contentWidth" parameter.
3) Actual behavior
The "auto" value to "contentWidth" parameter is ignored.
4) Steps to reproduce
options.put("contentWidth", "auto");
5) Sample XHTML
<h:form> <p:commandButton value="Options" icon="ui-icon-extlink" actionListener="#{dfView.viewCarsCustomized}" /> </h:form>
6) Sample bean
The text was updated successfully, but these errors were encountered: