sagalbot/vue-select

Duplication of dropdown `appendToBody` and Vue-Router

开放

#1,294 创建于 2020年10月8日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (1,307 个派生)batch import
bughelp wantedvue-router

仓库指标

星标
 (4,548 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Describe the bug The dropdown is not deleted after each switching page with Vue-Router. Therefore multiple dropdown are maintain on the page.

To Reproduce

  1. I use append-to-body and :calculate-position="withPopper" as in the guide : Dropdown position
  2. When I use the select, a listbox is created
  3. I change the page, return back and reuse the same select
  4. A new listbox is created

Expected behavior Create and use one dropdown

Screenshots image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version 86.0.4240.75

贡献者指南