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

Open picker programatically is not working #317

Open
ragulbit opened this issue Aug 15, 2023 · 0 comments
Open

Open picker programatically is not working #317

ragulbit opened this issue Aug 15, 2023 · 0 comments

Comments

@ragulbit
Copy link

I tried to open the picker programatically, but its not working as expected. I used below code to open the picker

this.$refs.picker.togglePicker(true)

But if I wrap the code within the setTimeout function its working fine and the pickers opens.

setTimout(() => {
    this.$refs.picker.togglePicker(true)
}, 100);

Is there any reason for that?

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

1 participant