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

Dynamic orientation not working #3

Open
SleepingProgrammer opened this issue May 13, 2020 · 2 comments
Open

Dynamic orientation not working #3

SleepingProgrammer opened this issue May 13, 2020 · 2 comments

Comments

@SleepingProgrammer
Copy link

Hi, I'm making a dynamic input with the Veeno slider. I have a preview function and it should show in realtime how the input would look like after editing the input.

It looks good but Veeno doesn't update in realtime to render vertically or horizontally after I update it the orientation variable. However, it does re-render perfectly when the veeno component is not shown and then re-shown.

Do you have any work-arounds or fixes for this? Thanks.

Here is how the veeno component looks like.
<veeno v-show="question.question_type=='Range'" v-model="input_value" pipsy :step=".1" :vertical="(question.others.orientation=='Vertical')" tooltips :handles="1.5" :range = "{ 'min': 1, 'max': 3 }" > {{ input_value }}cm </veeno>

@SleepingProgrammer
Copy link
Author

Was able to make a work-around by creating two instances and showing one or the other, however, let me know if there is a better one. Thanks.

@Lahori-Jawan
Copy link
Owner

Hello @SleepingProgrammer,

did you see this issue? I believe you need set prop to update slider.

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

No branches or pull requests

2 participants