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

Vue 3 example doesn't work: _a2.getBoundingClientRect is not a function #486

Open
lakeeast opened this issue May 12, 2024 · 2 comments
Open
Labels

Comments

@lakeeast
Copy link

Describe the bug
When creating the simplest example based on official documentation with Vue 3, the UI will not render. The following error will show up:
Screenshot 2024-05-12 at 3 25 20 PM

To Reproduce
Steps to reproduce the behavior:

  1. npm create vite@latest
  2. Select Vue 3 with typescript
  3. Copy paste sample code in https://github.com/Leecason/element-tiptap
  4. See error

Expected behavior
It should render the text (but nothing showed up)

Screenshots
See attached

Desktop (please complete the following information):

  • OS: Mac Pro
  • Browser Chrome
  • Version: latest

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@lakeeast lakeeast added the bug label May 12, 2024
@gaeremtro
Copy link

gaeremtro commented Nov 19, 2024

Im stuck on this same bug. some ideas?
-Edit
I could make it work using a v-if and the lifehook onNuxtReady(), failed with just onMounted.. but i tried to put a setTimeout and worked, so i found onNuxtReady lifehook wokring fine without any timeout

@j-d-carmichael
Copy link

This package is spot on for what i am looking for however this bug is preventing me from using it.

The last commit here was a year ago, is this still an active project?

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