q-table y-scroll with selection column
-
Hi! Yesterday I updated the quasar-framework to version 17.17. I am use q-table with option selection=“multiple” and
after the upgrade I got y-scroll.
If I remove the multiple option then the scroll disappears
Please help in solving this problem. Thank! -
You could try:
.q-table-middle.scroll { overflow: auto !important; }
This cannot be in a scoped style. If you want a scoped style, give your table an
id
. For instance,id="my-table"
. Then you can do this in a scoped style:#my-table .q-table-middle.scroll { overflow: auto !important; }
-
@hawkeye64 Did not help, the problem remained
-
I’d probably have to see more to know what’s going on. Can you put it into a fiddle?
-
You could also try:
#my-table { overflow: auto; }
-
-
My bad. I think you’re saying you always want the scrollbar to appear, even when it is not needed?
If so, then you want this:#my-table .q-table-middle.scroll { overflow: scroll !important; }
-
@hawkeye64 I have already tried this solution - it also does not work. In your example, the scrollbar is also present
-
Oh, so you don’t want the scrollbar. Sorry, that’s not the way I read that. If that’s the case, then turn
overlfow
tonone
. -
@hawkeye64 If everything was so simple … “none” does not work. This is a bug inside the component.