-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Responsiveness not working on Window #37
Comments
Yeah this is something I have been thinking about aswell. |
But actually with the current bootstrap css this is not possible. The only way i could think about is handling the window in vaadin Like a real Browser window. Maybe with a custom css File or in a completely different way, with only vaadin based css. |
Your are correct, it will take custom CSS, that's why I haven't added this yet. But I something I definitely want. |
I have been trying to get responsiveness work until I realized it's not working because it's in the Vaadin Window :( |
Hi I try something, it can't solve but maybe help you for fix:
|
I find someting: |
The Problem here is, that responsive-layout uses flexbox css. It may be possible to work with listeners here and apply css rules to the layout manually, but this would completely removes the advantage of css. So you always got on any window you use in vaadin server rpc calls, which will slow down your whole project. It may be a workaround, but not more than that. |
Yes, I understand, but I am trying somethink like server send javascript code to client, client work on it |
I believe the best approach is to create a CSS subset that is based on the v-window[width] I just haven’t had time to get a proof of concept together. The solution should be purely CSS |
When using the Responsive Layout in a Vaadin Window the Responsive Columns still get rescaled by the browser window width and height, that makes it impossible to work within a Vaadin window.
If the Window is maximized, it will, for sure, work, because it uses browser width and height.
But if the Window Size is smaller, resizing the Window won't actually make the Responsive Layout rearrange or rescale the Rows and Columns.
The text was updated successfully, but these errors were encountered: