kirbydesign / designsystem

Kirby Design System
https://cookbook.kirby.design
MIT License
83 stars 22 forks source link

[BUG] tab navigation margin-inline pushes page content #3316

Closed troelslenda closed 7 months ago

troelslenda commented 7 months ago

Describe the bug

When navigating with segmented control the margins are pushed due to segmented controls scroll into view feature. The real issue is that the tab-navigation's with is calculated to more than 100% of the viewport. See enclosed video

## Describe how to reproduce the bug Probably implement tab-navigation on a page together with segmented control. Ensure a narrow viewport.

Which Kirby version was used?

9.0.0

## What was the expected behavior? As demonstrated in video

Add any screenshots

https://github.com/kirbydesign/designsystem/assets/263060/4c9a6373-4c1e-4054-816a-a3463eb7380b

Please complete the following information:

Are there any additional context?


Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Verification

To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.

Implementation

The contributor who wants to implement this issue should:

Review

Once the issue has been implemented and is ready for review: