Skip to content

bug: (@vtmn/svelte): VtmnListItem component tabindex yields the value false #1489

Description

@deviswamy1

Describe the bug
In the VtmnListItem component the anchor tag has a parameter tabindex which is validating with the value of disabled. If the disabled is true the tabindex is -1 but if the disabled is false the value of the tabindex is false instead 0. Please do the necessary changes

tabindex={disabled && -1}
Steps to reproduce
We can reproduce this in all decathlon search pages wherever the list is displayed

Expected behavior

Browsers affected

Version affected

Metadata

Metadata

Assignees

No one assigned

    Labels

    Svelte 🟠Related to Svelte components librarybug 🐛Something isn't workingcommunity 👥As we stopped improvements for this version of Vitamin, this issue needs to be done by the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions