-
Notifications
You must be signed in to change notification settings - Fork 42
Fix header title getting truncated and change geocoder flex width behaviour #440
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
Conversation
Thanks for this @sronveaux. I think removing Handling width, min-width, flex, etc. can become tricky as the discussion in #439 shows. I'd vote as a minimum to allow to configure :width="width"
:min-width="minWidth" Without setting them the UI also looks quite nice IMHO: So this would be a minimal approach by exposing Vuetify properties. Anything further regarding to a flex like behavior I am unsure, if we should implement that on Wegue level. But this we could discuss then in #439. |
Hi @chrismayer and thanks for your comment, I agree with you except I'd expose I also think playing with the flex behaviour can become 'dangerous' as it could conflict with Last question is which values should be set as default. I just did a quick test and saw that, opposite to If you agree with that, I'll amend the PR in the following days. Just tell me what you think about it... |
So you mean, you would not expose them? So what would be the recommended way for devs to change the width of the UI? Via CSS? |
No no no ! I would definitely expose them ! But instead of exposing two properties ( |
Oh perfect, then we are on the same page. I am also fine with setting defaults to come close to old v2 behavior. Thanks in advance for your input. |
O.K., PR is amended following preceding discussion with @chrismayer. There is a difference though, the fast tests I did had something wrong, in the end (and it's better like that !)
Documentation is amended and unit tests have been added too. |
Thanks for your ongoing work on this @sronveaux. I am +1 to merge this. If we want to to further adaptations they should be done in separate PRs. |
Thanks @chrismayer, exactly what I wrote in #439. Let's see where the discussion will lead and whether we'll go further... |
This PR was written first to try and address #439 giving to the
Geocoder
combobox a min and max width which should give it a behaviour close to what could be observed inVuetify2
/Wegue v1.x
. Those values can be adapted though.At the same time, a bug where the header title gets truncated even when there is space left in the toolbar is addressed. This was reported to Vuetify some time ago. Answer was only given more than a year later in another similar bug report.