quasar icon indicating copy to clipboard operation
quasar copied to clipboard

Chrome alignment issue with sticky columns in 0.14 beta

Open myknbani opened this issue 9 years ago • 5 comments

Software version

Quasar: 0.14 beta OS: Linux Node: 8.1.4 NPM: 5.2.0 Browsers: Chrome 59

What did you get as the error?

Alignment with sticky column looks off in Chrome.

screenshot_20170720_001605

What were you expecting?

Alignment is correct. Like in Firefox

screenshot_20170720_001836

What steps did you take, to get the error?

Just checking out Quasar and viewing the showcase.

myknbani avatar Jul 19 '17 16:07 myknbani

Can you please give some more info:

  • browser version/platform
  • do you use any custom styles in browser (non default global font size?), or zoom
  • a screen shot of the whole table
  • which columns were sticky (left/right and how many)

pdanpdan avatar Jul 20 '17 05:07 pdanpdan

You're right. I am using a non-default global font size (Large in Chrome). WIth the default/recommended Medium, it seems OK.

Browser is Chrome 59 on a Linux desktop Sticky columns: Left - 1, Right - none

Here's the screenshot: screenshot_20170721_234346

myknbani avatar Jul 21 '17 15:07 myknbani

I can reproduce it with greater than normal fonts, and I'll try to find a way to fix it.

OK, I just checked and it's just a problem with the demo. In the QDataTable config there is a rowHeight property that sets the row height. Just use a font relative size for it - in the demo it is 50px. (use 3em/rem/ex)

pdanpdan avatar Jul 24 '17 06:07 pdanpdan

any progress on this issue?

using relative font size cannot fix it....

snowzane avatar Oct 17 '17 07:10 snowzane

This won't apply to v0.15 datatable revamp, so closing. Sorry for the delay.

rstoenescu avatar Oct 20 '17 17:10 rstoenescu