Comments (5)
I know where is the problem with the partially hidden text.
Will fix this in a moment for case: multiple="false" && searchable="true"
. As for multiple="true"
, the search input can’t be full width, as it has to fit next to the selected options/tags. Calculating the width in such case would feel a bit like overhead.
The select is using rem
for all kind of sizes, so please look for you HTML font-size
declaration. The calculation is based on the default 16px
font-size that you have in most browsers. This way the select should scale properly if a user increases font-size for the whole browser.
The other thing that is inherited from parent container is font-family
.
There should be no conflicts with bootstrap styles besides those.
from vue-multiselect.
@jpmurray Fixed in 0.1.8 :)
from vue-multiselect.
@shentao Welp, that was fast ;-) Visual bug is gone indeed, so that is ok.
I found the reference in Bootstrap 3.3.6 that makes the dropdown small, line 23. I'm not sure why, but the reset Bootstrap makes seems to take precedence in your code.
The thing is tough, is that looking at the style from Chome's inspector, it seems that is't not applied (it's striked through), but activating/deactivating it does influence the size of the select element?
One last thing I noticed, the loading icon seems to get partially hidden, like the text was before, as seen in the image down here.
(I'm throwing it all here, if you prefer that I open other issues, please do tell!)
from vue-multiselect.
As I thought, this is a problem from rem
unit as it is based on html { font-size: 10px }
this is 1rem = 10px
. I hardly ever use bootstrap. Is this change mandatory? I usually prefer using rem
for scalability but in this case, it feels like a shot in the feet.
How does removing font-size: 10px
affect your page?
Some frameworks (like Foundation) use a rem-calc
function where you pass pixels and it calculates the rem value. Usually, you can change the base for calculations in the framework’s configuration file.
Given 10px html font-size, 24px would equal (24 / 10) + 'rem' => 2.4rem
. If you change it to 16px
it shouldn’t affect your page, but actually fix the problem with multiselect.
Will double check the loading icon, thanks for noticing!
Let me know if this helps!
from vue-multiselect.
Looks like it doesn't changing from 10px
to 16px
won't change a thing. The only trouble I have is that I compile it directly from the less file in Gulp, and the CSS reset doesn't use use variables, so I kind of have to hack it after I compile it if I don't want to mess with the source. But hey, that's not on your end! ;-) I'm just dropping this here so anyone having the same problem can find themselves a solution!
Thank you!
from vue-multiselect.
Related Issues (20)
- Property maxHeight did not change anything HOT 2
- Outer combobox container is not stylable HOT 1
- Vue3, defaults limit & optionsLimit
- Classic select[multiple] view
- singleLabel slot can not read nested property
- Search doesn't work with Vue 3.4.x HOT 2
- How to Fetch when scroll at the bottom ? HOT 2
- Select doesn't working HOT 12
- How to add a cross icon to remove selected option
- format currency for dropdown label
- Vue3 CDN not working HOT 2
- Create event @clean
- Create prop :requiered=true HOT 1
- Vue3 /next: reset-after does not work, no way to clear values. HOT 1
- Vue3 /next unable to deselect group when options are computed property.
- https://vue-multiselect.js.org Docs aren't working HOT 6
- Rationale behind sorting filtered options HOT 1
- i can't access to the documentation website HOT 2
- Need slot for leading icon before label HOT 1
- Option slot selectLabel doesn't fire mouse events
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-multiselect.