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

Vue3 ref issue #338

Open
wants to merge 2 commits into
base: feat/vue-3
Choose a base branch
from

Conversation

stephenkhoo
Copy link

@stephenkhoo stephenkhoo commented Jun 9, 2023

In vue 3, the this.$refs[container] is the element itself, hence it will skip the scroll handling part.
This added if the this.$refs[container][0] is undefined, it will take this.$refs[container] directly.

This is based from v3 alpha release

… become null causing scroll effect not working
@stephenkhoo stephenkhoo changed the base branch from dev to feat/vue-3 June 9, 2023 08:11
@LouisMazel
Copy link
Contributor

This library is unmaintained, please use the new version (for Vue 3 and Nuxt 3): https://louismazel.github.io/maz-ui-3/components/maz-picker

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