Akryum / Akryum/floating-vue

Default placement not working

オープン
#435 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る
need-repro
主要言語
TypeScript
スター
3.5k
フォーク
341
平均マージ
14分
マージ済み PR(30日)
8

説明

I have the following config:

```js
import VueTooltip from 'v-tooltip'
Vue.use(VueTooltip, {
defaultPlacement: 'bottom',
defaultClass: '',
defaultTemplate: `





`,
defaultArrowSelector: '.Tooltip-arrow',
defaultInnerSelector: '.Tooltip-body',
defaultTargetClass: 'has-tooltip',
defaultLoadingClass: 'is-loading',
defaultLoadingContent: '',
});
```

And HTML:

```html
warning
```

This fails to produce a tooltip.

I have to explicitly specify the placement in order for it to work:

```html
warning
```

Am I doing something wrong or is this a bug? I would expect that it would honour the configured default placement if I don't specify it.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。