8000 Tabs Component doesn't pass id attribute to underlying element · Issue #6766 · react-bootstrap/react-bootstrap · GitHub
[go: up one dir, main page]

Skip to content
Tabs Component doesn't pass id attribute to underlying element #6766
Closed
@ctgbarcalow

Description

@ctgbarcalow

Prerequisites

Describe the bug

component accepts id as an attribute but does not pass it to the underlying element.

Expected behavior

Given the following code, I would expect that when the ul element is returned, the id would be present.

<Tabs id="my-tabs">
...
</Tabs>

To Reproduce

Create a project with a component. Give it an id and "inspect" the source.

Reproducible Example

https://codesandbox.io/p/sandbox/react-bootstrap-tabs-id-bug-8ddkmw?file=%2Fsrc%2FApp.tsx%3A16%2C1

Screenshots

No response

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What version of React-Bootstrap are you using?

2.1

What version of Bootstrap are you using?

N/A

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0