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

Dropdown display issue #51

Closed
johnyzv opened this issue Jul 1, 2021 · 7 comments
Closed

Dropdown display issue #51

johnyzv opened this issue Jul 1, 2021 · 7 comments
Labels
bug enhancement New feature or request
Milestone

Comments

@johnyzv
Copy link

johnyzv commented Jul 1, 2021

  • long dropdown value does not brake line when rendering
  • dropdown with other comment value that contains tab characters is not rendered well

https://plnkr.co/edit/z8P7f2T1xOW5buFw

thank you for considering this

@gologames gologames added the bug label Jul 1, 2021
@gologames
Copy link
Contributor

Hello,

Reproduced the issue. We will investigate it and write back to this thread

Thanks, Alex
SurveyJS Team

@johnyzv
Copy link
Author

johnyzv commented Jul 13, 2021

Hello @gologames
Any news regarding this?
Thank you,
Ionut

ST-1580 added a commit that referenced this issue Jul 16, 2021
@ST-1580
Copy link
Contributor

ST-1580 commented Jul 16, 2021

Hello,

We've fixed this issue via the commit above. You can set option textFieldRenderAs: 'multiLine' to render big texts. All this functionality will be added in the nearest update.

To turn option on you need to use the following code:

let options = {
    textFieldRenderAs: 'multiLine'
};

let survey = new SurveyPDF.SurveyPDF(json, options);

Thanks, Yaroslav
SurveyJs Team

@tsv2013 tsv2013 added the fixed label Jul 16, 2021
@tsv2013 tsv2013 added this to the v1.8.57 milestone Jul 16, 2021
@johnyzv
Copy link
Author

johnyzv commented Jul 30, 2021

The issue is still reproducible, check https://plnkr.co/edit/L9Th1fj5jju8W3w6

  • the text in the dropdown is truncated (everything after ".. repellat provident .. " is not displayed)
  • the text in the comment box that contains "\t" caracter is not displayed

Thank you,
Ionut

@tsv2013
Copy link
Member

tsv2013 commented Jul 30, 2021

Your plunker doesn't contain the recommended textFieldRenderAs: 'multiLine', option

@ST-1580
Copy link
Contributor

ST-1580 commented Jul 30, 2021

Hello,

Here is updated live sample in plunker with option which my colleague mentioned:
image

Indeed, unfortunately, comment with \t character renders wrong. Seems it is another issue which doesn't related to current thread. We created separate issue for this. Feel free to contact us in case of any further questions

Thanks, Yaroslav
SurveyJS Team

@johnyzv
Copy link
Author

johnyzv commented Aug 2, 2021

@tsv2013 Sorry, my bad

@ST-1580 Thx, looks good, i will close this issue

All the best

@johnyzv johnyzv closed this as completed Aug 2, 2021
@gologames gologames added enhancement New feature or request implemented labels Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants