framework icon indicating copy to clipboard operation
framework copied to clipboard

Should support for css scaling be extended to content with overlays?

Open Ansku opened this issue 5 years ago • 0 comments

Vaadin 8 does not currently support extensive css scaling in applications that use overlays, by e.g. giving a whole view or even the entire application a scale like .v-app { transform: scale(0.5) !important; }

With that kind of scaling the basic contents look and scroll just fine, but e.g. ComboBox, DateField, PopupView, and MenuItem popups (and quite likely other things that use overlays) misbehave/misposition themselves significantly (tested on Chrome, Firefox, and Edge on Windows 10). However, all of these things work just fine with browser zoom, and I don't recall hearing very many complaints about the lack of this kind of css scaling support, even if it's been missing for years. The purpose of this ticket is to document the missing feature, and to see if anyone would even be interested in getting it included. Those popup position calculations are quite tricky, so this might not be a trivial thing to do.

Ansku avatar Dec 16 '20 16:12 Ansku