Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

unnecessary component duplication in navbar-item #3939

Closed
@Tovli

Description

@Tovli

Overview of the problem

Buefy version: [0.9.25]
Vuejs version: [2.7.15]
OS/Browser: Windows10/Vivaldi

Description

It seems that Buefy creates two navbar-item element with the only difference is theis-hidden-touch oris-hidden-desktop classes

This cause an issue when getting tests to click the navbar-item as it duplicates the key

Steps to reproduce

1 - create a navbar with an attribute on its navbar-item:

<b-navbar-itemdata-test-id="localeHe"@click="switchLanguage">he</b-navbar-item>

Expected behavior

attribute exists only once in the DOM

Actual behavior

There is a duplicate navbar-item that looks almost exactly the same

Look at thedata-test-id attribute
image

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp