question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

QSelect width collapses when into flex row container and unknown other causes

See original GitHub issue

Describe the bug As per title, QSelect width collapses, instead of showing label or selected value, when it’s container has display flex with direction row AND some other causes I cannot replicate into a JSFiddle. But the behaviour is reproducible in the Design Overview Docs example for QSelect, using DevTools.

Codepen/jsFiddle/Codesandbox (required) Tryed to recreate my scenario, but could not reproduce in JSFiddle. https://jsfiddle.net/ws0nr83h/6/

To Reproduce Steps to reproduce the behavior:

  1. Go to Docs Design Overview example
  2. Add row class to the select components container
  3. See error

Expected behavior Should expand to the label length (or option with maximum length?)

Screenshots image

image

image

Platform (please complete the following information): OS: W10 Node: 10.x NPM: 6.4.1 Yarn: 1.16 Browsers: Chrome, others not tested iOS: Not tested Android: Not tested Electron: Not tested

Additional context

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
pdanpdancommented, Oct 14, 2021

drop all the q-gutter... on QInput and QSelect - they are of no use, you don’t have flex children of them to space them.

1reaction
pdanpdancommented, Oct 14, 2021

To clarify:

  • QInput always has a native input inside it, and in all browsers that input has a default min-width, so the minimum width of empty QInput is that of the input inside
  • QSelect most often does not have an input inside it, so the minimum width of QSelect with nothing selected is very small
Read more comments on GitHub >

github_iconTop Results From Across the Web

When flexbox items wrap in column mode, container does not ...
Even simpler flexbox column layouts refuse to increase the list's width when the items wrap. This other JSFiddle clearly demonstrates the problem. In...
Read more >
Introduction to Flexbox | Quasar Framework
This page covers the basic theory of Quasar Flex CSS classes and prepares you for the in-depth pages on Grid Row, Grid Column...
Read more >
flex-6000 signature series - smartsdr software user guide
FlexRadio Systems is a registered trademark and SmartSDR is a ... followed by the text “Update” in the box where your radio is...
Read more >
aMV - River Thames Conditions
Who ahead in the election today, Will zoro bounty rise, Detailed outline of genesis, Swami rama center india, Segnali dal futuro download ita, ......
Read more >
View Raw - UNPKG
Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found