Skip to content

S2 Tabs collapsed popover has width issue #8310

Open
@ktabors

Description

@ktabors

Provide a general summary of the issue here

"This looks like a bug where the width of the tabs only takes up as much width as the widest tab. We didn't catch this in our storybook because we had longer tab names that wrapped."

🤔 Expected Behavior?

The collapsed Tabs popover sizes to fit its content.

😯 Current Behavior

Popover seems to be sized based on widest tab.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

image
Image
Image

Goto the current S2 storybook on a mobile device or use dev tools to simulate.
Goto the dynamic story.
It should be collapsed.
Open the popover.
You should see the selected item's grey background which does not use the full width of the popover.

Version

v0.9.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

OSX 14.5

🧢 Your Company/Team

Adobe

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions