This repository was archived by the owner on Dec 21, 2024. It is now read-only.
This repository was archived by the owner on Dec 21, 2024. It is now read-only.
Sidebar content overflows into next element #702
Open
Description
Describe the bug
The content of the sidebar overflows. See attached picture.
To Reproduce
Steps to reproduce the behaviour:
- Go to a page that has the sidebar + search input, e.g. https://cucumber.io/docs/gherkin/reference/
- Wait for the search input to load
- See error
Expected behaviour
The content to not overflow.
Desktop (please complete the following information):
- OS: Linux
- Browser: Firefox Developer Edition
- Version: 95.0b12 (64-bit)
I can also reproduce it in Chromium Version 96.0.4664.45 (Official Build) and Chrome Version 96.0.4664.45, both with an out-of-the-box setup.
Aditional context
It would seem the initial height calculation does not take into account the height of the search input and it is not recalculated when the input loads.
If the open or resize the browser devtools, or resize the browser window, the height of the scrollable content is adjusted and the issue is no longer visible.