-
Notifications
You must be signed in to change notification settings - Fork 23
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
[Enhancement] Modal title should support long titles #843
Comments
Tech refinement:
|
This issue has been automatically marked as stale because of no recent activity. It will be closed in 10 weeks if no further activity occurs. Thank you for your contributions. |
@henrikvoetmand we need this enhancement for all our "Samtykker/aftaler" (across DRB) so we need to prioritize this issue 😄 |
This issue has been automatically marked as stale because of no recent activity. It will be closed in 10 weeks if no further activity occurs. Thank you for your contributions. |
@henrikvoetmand as mentioned before this issue is important for all our "Samtykker/aftaler" but it is now 'Stale'. Is it possible to prioritize this issue? :) |
@alxzak can we prioritize this issue? |
This issue has been automatically marked as stale because of no recent activity. It will be closed in 10 weeks if no further activity occurs. Thank you for your contributions. |
Is this worth taking a look at? |
how does that work @MadsBuchmann ? :D can you demo that? |
@bommariusser got nothing to demo. I commented the above link as we stumbled upon it when discussing this issue yesterday. It's might just be a lever exposed by the ionic framework that we might use to implement the functionality, in a way exposed by the framework :D |
alright @MadsBuchmann :) sounds great! The showcase is not so "not developer" friendly though so its hard to really understand what collapsible means :D sounds like something that gets smaller :P so like a sticky page-title kinda thing or font scaling kinda thing :) |
Tech refinementI've spent some time looking into three different solutions for this:
I think we should go with no. 1. I've written down some pros & cons for this solution in #2067. The second will not be implemented due to UX considerations. When researching the third solution i stumbled into the problems mentioned by @flemcito by not being able to control overflow behaviour. There's still a couple of things to consider:
After talking with @henrikvoetmand the styling for the title when it is part of the content should be the same as the title for page in #2030 |
The gift that keeps on giving 😅... Status right now is that #2174 contains all necessary functionality for enabling collapsible titles for modals that are not routed. The modal configs for routed modals are hard coded and this is giving us some API troubles... A seperate issue has been created for this: #2192 |
Is your enhancement request related to a problem? Please describe.
Right now our modals truncate on long titles, which makes some important text go away.
Describe the solution you'd like
We would like the text to truncate only on scrolling down - So it will show the whole text when opening a modal.
Describe alternatives you've considered
We also thought of showing the whole title all the time, but prefer truncating on scrolling, like our page-template.
Also we have thought about scaling the title down to a p / 16 px before making the header bigger, down to the same size as the toolbar title.
The text was updated successfully, but these errors were encountered: