My project features a sidebar and a container. While the sidebar spans the height of the screen, the content in the container is longer. To enable scrolling within the container, I applied overflow-x: hidden
to its CSS.
The challenge arises when attempting to integrate a Vuetify autocomplete component into the container. Due to the overflow-x
styling, the dropdown menu of the autocomplete component scrolls along with the page instead of remaining connected to the input field.
To illustrate this issue, I have created a simplified version of the code from the Vuetify documentation on Codepen: https://codepen.io/brm49024/pen/PoqaBzM.
Ultimately, my aim is for the dropdown menu to stay fixed with the input field while scrolling. Is there a solution that can achieve this behavior?