Akryum / Akryum/floating-vue

VDropdown component errors using Browser installation: `TypeError: can't access property "offset", m is undefined`

Open
#1,089 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.5k
Forks
341
Avg merge
14m
Merged PRs (30d)
8

Description

Going off of the Browser installation: https://floating-vue.starpad.dev/guide/installation#browser

Minimum reproducible example:

```html







Click me


This is the popper content





const { createApp } = Vue;

const app = createApp({});

app.use(FloatingVue);

app.mount('#app');

```

Console reports an error when you click the button:

```
Uncaught (in promise) TypeError: can't access property "offset", m is undefined
$_computePosition https://unpkg.com/floating-vue@^2.0.0-beta.1:1
```

Maybe I missed something 🤷‍♂️

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.