Issue T2872
Visible to All Users

RTL support not working properly

created 5 years ago (modified 5 years ago)

Hi Team,

We were trying the RTL (Right to Left) scenario in survey js. However, we have realized there is a bug during the rendering. The rendering engine, instead of loading the components in its mirror format, it pushes everything towards the right side. Please see the below screen shot.

Clipboard-File-4.png

Expected behavior:
The encircled button should get rendered towards the left side. I suppose the rendering will also fail when we have two questions in the same row.

An example of the expected behavior.
An image in LTR : Clipboard-File-2.png

Should look like:
Clipboard-File-1.png

Comments (1)

    Hello,
    Yes, We will take a look tomorrow and comeback.

    Thank you,
    Andrew
    SurveyJS Team

    Answers approved by surveyjs Support

    created 5 years ago

    Hello,

    I've fixed the issue via the https://github.com/surveyjs/survey-library/commit/69ebb83757de9bd2be1ec5b4a9f9b2370910b3fb commit. Fix will be available in the nearest update, most likely next tuesday.

    Thanks, Serge
    SurveyJS Team

      Comments (1)

        Hi Serge,

        Thanks for providing us with a fix. We have tested a few scenarios with this fix. We have faced a few RTL issues with the existing controls. Will be logging a separate issue for those

        Thanks,
        Abhishek