Multiple issues with selects in fixed navbars
See original GitHub issueSteps to reproduce
Create an application with a fixed
toolbar and a select in it.
Add a prepend icon
, and the solo
and autocomplete
properties to the select
Versions
Latest versions as of today (21/09/2019): Vue v2.4.4 Vuetify v0.15.7
What is expected ?
I expect the select items to be aligned with the text field (x-axis) and to stay just under the search box (y-axis)
What is actually happening ?
- There is an offset on the left, corresponding to the prepend icon
- When I scroll through the page, the items scroll when they shouldn’t : the search box is fixed (check the codepen)
- I can’t reproduce it on codepen but on my actual application, the box opens far under my search box : . You can see the x-axis offset and the y-axis offset.
Reproduction Link
https://codepen.io/tsauvajon/pen/KXMxyv
Further note
I can’t seem to find the different slots available for selects. In the documentation, there are exemples for the “item” and “selection” slots. It would be nice to have a list of all avaible slots, and a slot to “customize” the dropdown menu (e.g. nudge-left, position-x properties)
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Bootstrap 4 navbar multiple elements position issue
When this menu opens in desktop view, the left image should be positioned to the right side. The logo image left with the...
Read more >Position issue inside absolute scrolling container #1422
I am using select-picker in a page where I have a navbar and a main area which is in position:absolute and overflow-y:auto.
Read more >Navbar - jQuery Mobile Demos
These pages are a demo of a persistent navbar in a fixed footer toolbar. Click on any of the links in the footer,...
Read more >Navbar | Components - BootstrapVue
The component is a responsive wrapper that positions branding, navigation, and other elements into a concise header. It's easily extensible and thanks to ......
Read more >How to place content under fixed flexbox navigation bar
We can place Content in the fixed navigation bar by two methods as follows: ... to fix navbar */ ... < h1 >Fixed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
resolved with b34c329cc8437c4fc9c2dd796f80cdd30b21021f
The toolbar sets the margin of the first and last elements to ensure proper spacing. When the select is the only element, it is getting these values. Temporary fix is to add the class ma-0 to v-select.