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

Survey-React: conditional rendering is broken with inline questions #3031

Closed
aanavaneeth opened this issue Jun 28, 2021 · 5 comments
Closed
Assignees
Labels

Comments

@aanavaneeth
Copy link

aanavaneeth commented Jun 28, 2021

This particular bug was not there until 1.8.46 but introduced later (may be between 1.8.47 & 1.8.49 and exists in 1.8.53)

If we have two questions in a single line and have have conditional rendering on second question based on first question then that doesn't work. Looks like its happening only on react library

Are you requesting a feature, reporting a bug or asking a question?

bug

What is the current behavior?

not rendering second question

What is the expected behavior?

rendering second question on selecting 1st/3rd options

How would you reproduce the current behavior (if this is a bug)?

Add two questions in a single line and have conditional rendering on second question based on first question. Looks like its happening only on react library

Provide the test code and the tested page URL (if applicable)

Tested page URL: https://plnkr.co/edit/SeXYc4zuRzNf9Uml

Specify your

  • browser: Chrome/Edge
  • browser version: Latest
  • surveyjs platform (angular or react or jquery or knockout or vue): React
  • surveyjs version: 1.8.13
@aanavaneeth
Copy link
Author

I hope you can fix this in 1.8.54

@andrewtelnov
Copy link
Member

@aanavaneeth I have added a unit test and e2e test as well on this functionality.

Thank you,
Andrew

@aanavaneeth
Copy link
Author

aanavaneeth commented Jun 30, 2021

is it part of 1.8.54? or 55?

@tsv2013
Copy link
Member

tsv2013 commented Jun 30, 2021

It will be included in 1.8.55

@tsv2013
Copy link
Member

tsv2013 commented Jun 30, 2021

My bad. It has been included in 1.8.54

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

No branches or pull requests

3 participants