I noticed that when ComboBox is really close to the page bottom part but still have some small space, the ComboBox element is trying to open its popup with minimal height and scrollbar, instead of open the popup window above to the top. How to properly setup ComboBox with popup min height and let him know to use the space above when there is no enough space at the bottom?
UPDATED
I added the following code to the styles.css:
@import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
registerStyles(
'vaadin-combo-box-overlay',
css`
#overlay {
min-height: 100px;
}
`,
);
but UI compilation failed with the following error:
No issues found.
[webpack-dev-middleware] wait until bundle finished: /jobs/49455/candidates
WARNING in InjectManifest has been called multiple times, perhaps due to running webpack in --watch mode. The precache manifest generated after the first call may be inaccurate! Please see https://github.com/GoogleChrome/workbox/issues/1790 for more information.
ERROR in ./themes/mytheme/styles.css?inline
Module build failed (from ../node_modules/css-loader/dist/cjs.js):
CssSyntaxError
(5:11) \ui\frontend\themes\myproject\styles.css Unknown word
3 | @import url('lumo-css-framework/all-classes.css');
4 |
> 5 | @import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
| ^
6 |
7 | registerStyles(
[build-status] 1 error and 1 warning were reported.
How to properly add such styles?